You are here

function _imagecache_preset_load in ImageCache 5

Load a preset by id.

Parameters

id: Preset id.

1 call to _imagecache_preset_load()
_imagecache_preset_flush in ./imagecache.module
Flush cached media for a preset.

File

./imagecache.module, line 495
Dynamic image resizer and image cacher.

Code

function _imagecache_preset_load($id) {
  $presets = _imagecache_get_presets();
  return $presets[$id];
}