After re-cropping an image, the cached image-style isn't updated, so the image with "old" cropping is still displayed.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | recrop-image-styles-not-updating-1127078-7.patch | 467 bytes | jox |
| #4 | update_image_styles.patch | 661 bytes | sch4lly |
Comments
Comment #1
yhager commentedare you using imagecache to display the image?
Comment #2
sch4lly commentedI'm on D7, so i use the built in image styles (but i assume they work just like imagecache did)
Comment #3
Zdorovega commentedConfirm bug, it`s really appear when recrop image and resave form...
Comment #4
sch4lly commentedAttached is a patch which updates the image derivates after saving an cropped image
Comment #5
jox commentedYour patch should work in most cases but is not perfect since the file path is hard coded (/sites/default/files/).
I fixed it by adding just this line:
Comment #6
yhager commentedCan you please reroll the patch with the latest fix?
Comment #7
jox commentedReroll.
Comment #8
yhager commentedCommitted, thanks.