• Resolved sgot

    (@sgot)


    Hi,
    I have W3TC configured so that all my attachments are hosted, and automatically uploaded, on Amazon S3 service.

    Now we changed some image sizes for our theme, but the thumbnails regeneration fails because the image is not present on the server.
    It’s not a “Regenerate Thumbnails” plugin problem, because also wp-cli call returns the same error.
    So forgive me if I’d call this as a kind of “core feature removal” from W3TC.
    Can you suggest some workaround to get it done relatively quickly, without being forced to download every single image from S3 and reupload them to recreate the correct sizes?
    It would be very painful to do manually, above all for those who have a lot of images on their website.

    Is there maybe some filter through which we could:

    1. temporary download from S3
    2. resize/regenerate
    3. upload the resized images (possibly only those not already existing)
    4. and then delete them from the server?

    After all the process described in the steps 3 and 4 is already done by W3TC when uploading a new picture.

    Thank you in advance for your help and for your work.

    Andrea

    • This topic was modified 5 years, 2 months ago by sgot.
Viewing 1 replies (of 1 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @sgot

    Thank you for your inquiry and I am happy to assist you with this!
    Of course, in order to manipulate images, you need to have them locally.
    w3tc can remap URLs to s3 and upload them, but it never removes original files after uploading it, so if you are missing them – something else removed original ones.
    So I am afraid there is no workaround for this, unfortunately.
    Thanks!

Viewing 1 replies (of 1 total)

The topic ‘Cannot regenerate thumbnails’ is closed to new replies.