You are here

function media_image_default_styles in D7 Media 7

Same name and namespace in other branches
  1. 7.4 media.module \media_image_default_styles()
  2. 7.2 media.module \media_image_default_styles()
  3. 7.3 media.module \media_image_default_styles()

Implements hook_image_default_styles().

File

./media.module, line 379
Media API

Code

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