aws-s3
aws-s3 copied to clipboard
Transforms update not working
Description
Hi guys. I use AWS + CloudFront to store assets. Is it possible to configure the saving of images in such a way that when the images change, the transformations are updated or cleared.
My template
{% set asset = craft.assets.one() %}
<h4>no crop</h4>
<img src="{{ asset.url }}" width="250">
<h4>native crop</h4>
<img src="{{ asset.getUrl({
width: 400,
height: 400,
}) }}" width="250">
Now the transformed image only updates if I replace image. If I crop, rotate or change the focus point, the transformed image is displayed in the same.
https://user-images.githubusercontent.com/496132/180731507-e290508e-f53e-4ab3-9423-21d20d151a1a.mp4
Steps to reproduce
- Transform image in template
- Open template in browser
- Crop of rotate image in the CP
- Check template in browser
Additional info
- Craft version: 3, 4
- PHP version: 7.4, 8.1
- Database driver & version: MySQL 8
- Plugins & versions: Amazon S3 2.0.1