• Resolved adam__ph

    (@adam_ph)


    Desperately trying to find a focus crop plugin that works with AWS S3 Offload plugin, our media is stored on S3 so most plugins don’t work well with it.

    I’ve installed and set a crop point but nothing happens?

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m not sure how thumbnails work with s3 offload, but I’m guessing they don’t automatically get pulled on regeneration. However, the more advanced use of smartcrop should work. Try adding an image into post content at full size, then use css to set the width and height. smartcrop should step in and make sure the image crops live in-browser.

    I’ll look into S3 offload. it may be possible to trigger a cache refresh.

    Having read through the plugin’s source, it looks like it should be working. My guess would be that S3 doesnt immediately invalidate resources on update, and you may have to wait for the cropped resources to expire in the s3 cache for the updated thumbnail to take effect.

    If not, this appears to be a bug with S3 Offload, as the wp_update_attachment_metadata filter on line 189 of amazon-s3-and-cloudfront.php should be uploading the new thumbnails to s3. I’d suggest filing a bug report with Delicious Brains.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Does this work with S3 Offload?’ is closed to new replies.