Clears cached versions of a specific file in all styles.
$path: The Drupal file path to the original image.
function image_path_flush($path) { $styles = ImageStyle::loadMultiple(); foreach ($styles as $style) { $style->flush($path); } }