function _imagecache_preset_load_by_name in ImageCache 5
Load a preset by name.
Parameters
name: Preset name.
1 call to _imagecache_preset_load_by_name()
File
- ./
imagecache.module, line 505 - Dynamic image resizer and image cacher.
Code
function _imagecache_preset_load_by_name($name) {
$presets = array_flip(_imagecache_get_presets());
return $presets[$name];
}