Flush image styles

Public

use drush

</> CopyGet raw version
bash
  1. drush image-flush

for one image style

</> CopyGet raw version
php
  1. image_style_flush('style_name');

for all image styles

</> CopyGet raw version
php
  1. foreach (image_styles() as $style) {
  2. image_style_flush($style);
  3. }