You are here

function brightcove_field_image_default_styles in Brightcove Video Connect 7.2

Same name and namespace in other branches
  1. 7.3 brightcove_field/brightcove_field.module \brightcove_field_image_default_styles()
  2. 7.4 brightcove_field/brightcove_field.module \brightcove_field_image_default_styles()
  3. 7.5 brightcove_field/brightcove_field.module \brightcove_field_image_default_styles()

Implements hook_image_default_styles().

File

brightcove_field/brightcove_field.module, line 1259
Brightcove field module provides a Content Construction Kit module to developers, allowing them to browse videos in their Brightcove Studio and upload them.

Code

function brightcove_field_image_default_styles() {
  $styles = array();
  $styles['brightcove_browser'] = array(
    'effects' => array(
      array(
        'name' => 'image_scale_and_crop',
        'data' => array(
          'width' => 120,
          'height' => 120,
        ),
        'weight' => 0,
      ),
    ),
  );
  return $styles;
}