You are here

function galleryformatter_image_default_styles in Gallery formatter 7

File

includes/galleryformatter_imagestyles.inc, line 11
Provides default Image styles presets that can be overridden by site administrators.

Code

function galleryformatter_image_default_styles() {
  $styles = array();
  $styles['galleryformatter_slide'] = array(
    'effects' => array(
      array(
        'name' => 'image_scale_and_crop',
        'data' => array(
          'width' => 500,
          'height' => 312,
        ),
        'weight' => '0',
      ),
    ),
  );
  $styles['galleryformatter_thumb'] = array(
    'effects' => array(
      array(
        'name' => 'image_scale_and_crop',
        'data' => array(
          'width' => 121,
          'height' => 75,
        ),
        'weight' => '0',
      ),
    ),
  );
  return $styles;
}