function image_resize_filter_delete_temp_file in Image Resize Filter 6
Same name and namespace in other branches
- 8 image_resize_filter.module \image_resize_filter_delete_temp_file()
- 7 image_resize_filter.module \image_resize_filter_delete_temp_file()
A short-cut function to delete temporary remote images.
2 calls to image_resize_filter_delete_temp_file()
- image_resize_filter_get_images in ./
image_resize_filter.module - Parsing function to locate all images in a piece of text that need replacing.
- image_resize_filter_process_images in ./
image_resize_filter.module - Processing function for image resize filter. Replace img src properties with a URL to a resized image.
File
- ./
image_resize_filter.module, line 613 - image_resize_filter.module
Code
function image_resize_filter_delete_temp_file($source, $filepath) {
if ($source == 'remote' && is_file($filepath)) {
@unlink($filepath);
}
}