function image_file_delete in Drupal 7
Implements hook_file_delete().
File
- modules/
image/ image.module, line 338 - Exposes global functionality for creating image styles.
Code
function image_file_delete($file) {
// Delete any image derivatives of this image.
image_path_flush($file->uri);
}