Optimised images fail if source is remote and s3 is disabled


(Sam Saffron) #1
  1. Enable S3
  2. Upload an image
  3. Disable S3
  4. Try to get an optimized image, it does not work

OptimizedImage should be smarter and download from S3 ensuring it continues to work. (this involves a refactor as a bunch of logic needs to be pushed into the base store class)

(we had this issue on ionic moving to our hosting)

cc @zogstrip


(Jeff Atwood) #2

Wait how can that work if you remove S3 credentials? Disable S3 can mean stop using it entirely.


(Sam Saffron) #3

The URL is stored on the upload and that is public, it only needs read only to optimise images.


(Régis Hanol) #4

This should be fixed now.

This topic is now closed. New replies are no longer allowed.