You are here

function node_gallery_image_default_styles in Node Gallery 7

Implements hook_image_default_styles().

File

./node_gallery.module, line 43
Node Gallery module.

Code

function node_gallery_image_default_styles() {
  $styles = array();
  $styles['node_gallery_display'] = array(
    'effects' => array(
      array(
        'name' => 'image_scale',
        'data' => array(
          'width' => '',
          'height' => 1500,
          'upscale' => 0,
        ),
        'weight' => 0,
      ),
      array(
        'name' => 'image_scale',
        'data' => array(
          'width' => 600,
          'height' => '',
          'upscale' => 0,
        ),
        'weight' => 1,
      ),
    ),
  );
  $styles['node_gallery_thumbnail'] = array(
    'effects' => array(
      array(
        'name' => 'image_scale_and_crop',
        'data' => array(
          'width' => 150,
          'height' => 150,
        ),
        'weight' => 0,
      ),
    ),
  );
  return $styles;
}