You are here

function brightcove_cck_imagecache_default_presets in Brightcove Video Connect 6.2

Same name and namespace in other branches
  1. 6 brightcove_cck/brightcove_cck.module \brightcove_cck_imagecache_default_presets()

Implementation of hook_imagecache_default_presets().

File

brightcove_cck/brightcove_cck.module, line 1010
Brightcove CCK module provides a Content Construction Kit module to developers, allowing them to browse videos in their Brightcove Studio and upload them.

Code

function brightcove_cck_imagecache_default_presets() {
  $presets = array();
  $presets['brightcove_browser'] = array(
    'presetname' => 'brightcove_browser',
    'actions' => array(
      0 => array(
        'weight' => '0',
        'module' => 'imagecache',
        'action' => 'imagecache_scale_and_crop',
        'data' => array(
          'width' => '120',
          'height' => '120',
        ),
      ),
    ),
  );
  return $presets;
}