galleryformatter_imagecache.inc in Gallery formatter 6
Provides default ImageCache presets that can be overridden by site administrators.
File
includes/galleryformatter_imagecache.incView source
<?php
/**
* @file
* Provides default ImageCache presets that can be overridden by site administrators.
*/
/*
* Implementation of hook_imagecache_default_presets().
*/
function galleryformatter_imagecache_default_presets() {
$presets = array();
$presets['galleryformatter_slide'] = array(
'presetname' => 'galleryformatter_slide',
'actions' => array(
0 => array(
'weight' => '0',
'module' => 'galleryformatter',
'action' => 'imagecache_scale_and_crop',
'data' => array(
'width' => '500',
'height' => '312',
),
),
),
);
$presets['galleryformatter_thumb'] = array(
'presetname' => 'galleryformatter_thumb',
'actions' => array(
0 => array(
'weight' => '0',
'module' => 'galleryformatter',
'action' => 'imagecache_scale_and_crop',
'data' => array(
'width' => '121',
'height' => '75',
),
),
),
);
return $presets;
}
Functions
Name | Description |
---|---|
galleryformatter_imagecache_default_presets |