Implements hook_file_delete().
function image_file_delete($file) { // Delete any image derivatives of this image. image_path_flush($file->uri); }