Dave Hilditch

7 Comments

  1. Derek
    April 9, 2016 @ 6:06 pm

    Great article. Small type on ‘rsycn’ instead of ‘rsync’ that people may run into. I was able to get through all of the instructions but I seem to be getting an error when trying to upload a new plugin and also when running WPAll Import.

    The error is “The uploaded file could not be moved to wp-content/uploads/2016/04.”

    I followed all of the instructions above. Is there anything you know of that may be causing this error and is there any reason I shouldn’t delete the olduploads folder?

    Also I have all my files in S3 but it looks like my site is still using the uploads directory.

    Best,

    Reply

  2. Kristian Zwart
    August 4, 2016 @ 8:25 am

    Hi Dave, great article, thanks. I wonder if you could advise me on what to do regarding using wpallimportpro with resales online database. The whole image database is between 40-60gb , too much for my server so it keeps timing out. So they advised me to work out how to use cdn instead of importing images. How can I do this in wordpress using wpallimport pro?

    here are some examples below of what redirect I need to do for every image.

    http://media-1.resales-online.com/live/ShowImageXML.asp?SecId=dpilrbacrlrwjsm&Id=P18&ImgId=X1000610&z=1468681550&.jpg

    http://media-cdn.resales-online.com/live/ShowImage/dpilrbacrlrwjsm.asp?Id=P18&ImgId=X1000610&z=1468681550&.jpg

    Reply

    • Dave Hilditch
      August 4, 2016 @ 11:14 am

      To use the CDN source instead of downloading your images:

      1. Modify your import, don’t import images
      2. Map your CDN image URL(s) to a custom meta field – perhaps called external_image_url
      3. Add a WordPress filter for ‘post_thumbnail_html’ and write the code to build the image using the external URL
      4. Optionally add some extra stuff into your back-end admin system so you can administer this URL – e.g. a filter on admin_post_thumbnail_html and save_post
      5. If you’re using WooCommerce, you’ll need to write filters for woocommerce_single_product_image_html and woocommerce_single_product_image_thumbnail_html too

      Reply

  3. twardyx
    December 2, 2016 @ 12:26 pm

    I want to store my images on Amazon S3 – will it work with WP Smush Plugin?

    Reply

    • Dave Hilditch
      February 19, 2017 @ 6:03 pm

      I have not tested with Smush but it should work since Smush is just writing the images back to the uploads folder as normal.

      Reply

  4. Duong
    July 10, 2017 @ 3:53 am

    Hi, Dave

    Can you record a video help me?

    Thanks

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *