Dcycle Blog

Flushing your image style

December 17, 2013

Once in a while you will change your image styles, and deploy them, but even after clearing caches they won’t change. In your site deployment module’s hook_update_N(), you can add something like:

image_style_flush(image_style_load('myimagestyle'));