function image_resize_filter_file_delete in Image Resize Filter 7
Same name and namespace in other branches
- 6 image_resize_filter.module \image_resize_filter_file_delete()
Implements hook_file_delete().
File
- ./
image_resize_filter.module, line 77 - After adding to a text format, this filter will parse the contents of submitted content and automatically scale image files to match the set dimensions of img tags.
Code
function image_resize_filter_file_delete($file) {
if (isset($file->uri)) {
image_resize_filter_delete_derivatives($file->uri);
}
}