1

I regularly use srcset to serve large images, such as heroes, and take advantage of Craft's image transform capabilities in the implementation, e.g. <img srcset="{{ image.getUrl('img500') }} 500w,...etc.

Curious to know if anyone has a clever solution for doing this when images are stored on AWS? I know I can still use transforms, but they will be saved on the webserver, not AWS. I could create subfolders in my AWS bucket and manually scale the images, but that is obviously not an ideal solution.

Thanks for any insights!

1 Answer 1

2

Most likely you have AWS policy issue. Never seen the problem you've described enter image description here

Craft still will save images copy locally to improve speed. You can disable it using maxCachedCloudImageSize config and set it to 0.

1
  • thanks Dima - I did not realize that transformed images were stored on AWS. It does work for me.
    – Roi Agneta
    Commented May 21, 2021 at 19:25

Not the answer you're looking for? Browse other questions tagged or ask your own question.