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

droplet’s picture

Status: Active » Postponed (maintainer needs more info)

How do you edit your image ?? open directly ??

WtheM’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Hi 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.