Closed (fixed)
Project:
Drupal core
Version:
7.0-rc1
Component:
image system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Dec 2010 at 22:51 UTC
Updated:
25 Oct 2011 at 08:25 UTC
Hi,
Create an image style, and after a time wanted to change my image.
I edited the image /sites/default/files/pics/blah/blah.jpg
The style didn't update it's cache (as expected).
So I Performance->"Clear All Caches".
It didn't clear the image style cache. I had to find and hand-delete the cached images. default/files/styles/blah/public/pics/blah/blah.jpg.
Anyways, this was hard to find and confusing. Can you either add a "Clear Image Cache" button, or add this to "Clear All Caches"?
Thanks,
Mike
Comments
Comment #1
droplet commentedHow do you edit your image ?? open directly ??
Comment #2
WtheM commentedHi Mike. This is not a bug. You don't have to remove old imagecache generated images manually and/or clear all caches is not the right option I assume. I had the same need, just to change (extend) a little bit my image style (adding round corners to pre existing image style). The best way (and I think the only one) is to create new image style with additional styles you want to add to the old one. Then you just have to hit the delete (near the old image style) and you will see a confirmation page with an option (droplist of avaliable image styles) to replace the old style with a new one. You choose the new extended style from the droplist and hit once again "delete". Worked for me perfectly. I could successfully replace old image styles with the new one and the old folder was deleted. It works as desribed above at least in the version 7.4 I have tested. This feature is very usefull but a bit hidden.