Steps to reproduce:
- Verify that you have cached image styles by going to the image style directory for your site. Typically in <site root>/sites/default/files/styles.
- If you have cached images you should see a folder for each existing image style (e.g. large, medium, thumbnail).
- On your site go to the image styles admin page: admin/config/media/image-styles.
- Click the "flush" link for one of these styles. On the next page click "Flush" again to confirm.
- The message indicates the images were flushed successfully.
- Examine the image style directory again. The flush did not delete the image style folder nor any of its contents.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | imagestyleflush-1961394-1.patch | 555 bytes | illeace |
Comments
Comment #1
illeace commentedHere's a patch to fix the issue.
Comment #2
to.stepan.kuzmin@gmail.com commentedThanks! I've just released Image style flush 7.x-1.2 with your patch.
Comment #3
smalltree commentedStill not working for me. I had to manually delete the file on server. :(
Comment #4
coredumperror commentedsmalltree, you may need the patch in this comment from #1057656: Image styles don't flush for images stored non-default schemes. There's a bug in the core
image_style_flush()function which has only just today been fixed.Comment #5
robcolburn commentedLooks like this was merged in 11a709c