function imagecache_create_path in ImageCache 5.2
Same name and namespace in other branches
- 6.2 imagecache.module \imagecache_create_path()
Return a file system location that points to the location of a derivative of the original image at @p $path, transformed with the given @p $preset. Keep in mind that the image might not yet exist and won't be created.
3 calls to imagecache_create_path()
- imagecache_field_formatter in ./
imagecache.module - Implementation of hook_field_formatter().
- imagecache_image_flush in ./
imagecache.module - Clear cached versions of a specific file in all presets.
- _imagecache_cache in ./
imagecache.module - handle request validation and responses to imagecache requests.
File
- ./
imagecache.module, line 234 - Dynamic image resizer and image cacher.
Code
function imagecache_create_path($presetname, $path) {
$path = _imagecache_strip_file_directory($path);
return file_create_path() . '/imagecache/' . $presetname . '/' . $path;
}