function imagecache_create_path in ImageCache 6.2
Same name and namespace in other branches
- 5.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.
6 calls to imagecache_create_path()
- imagecache_drush_preset_build in ./
imagecache.drush.inc - Drush callback to perform actual imagecache preset build.
- imagecache_generate_image in ./
imagecache.module - Generate a derivative image given presetname and filepath.
- imagecache_image_flush in ./
imagecache.module - Clear cached versions of a specific file in all presets.
- theme_imagecache in ./
imagecache.module - Create and image tag for an imagecache derivative
- theme_imagecache_formatter_path in ./
imagecache.module
File
- ./
imagecache.module, line 380 - 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;
}