You are here

function cloud_zoom_imagecache_default_presets in Cloud Zoom 6

Implementation of hook_imagecache_default_presets().

File

./cloud_zoom.module, line 154
This module integrates the Cloud Zoom JQuery library from: http://www.professorcloud.com/mainsite/cloud-zoom.htm

Code

function cloud_zoom_imagecache_default_presets() {
  return array(
    array(
      'presetname' => 'cloud_zoom_small',
      'actions' => array(
        array(
          'weight' => 0,
          'module' => 'cloud_zoom',
          'action' => 'imagecache_scale',
          'data' => array(
            'width' => 240,
            'height' => '',
            'upscale' => 0,
          ),
        ),
      ),
    ),
    array(
      'presetname' => 'cloud_zoom_large',
      'actions' => array(
        array(
          'weight' => 0,
          'module' => 'cloud_zoom',
          'action' => 'imagecache_scale',
          'data' => array(
            'width' => 768,
            'height' => '',
            'upscale' => 0,
          ),
        ),
      ),
    ),
  );
}