You are here

function gallery_assist_image_default_styles in Gallery Assist 7

Implements hook_image_default_styles().

File

./gallery_assist.module, line 1383
Extend drupal with gallery functionalities. Manage galleries.

Code

function gallery_assist_image_default_styles() {
  $styles = array();

  // Icon.
  $styles['gallery_default_icon_75'] = array(
    'effects' => array(
      array(
        'name' => 'image_scale',
        'data' => array(
          'width' => 75,
          'height' => 75,
          'upscale' => 1,
        ),
        'weight' => 0,
      ),
    ),
  );

  // Thumbnail.
  $styles['gallery_default_thumbnail_100'] = array(
    'effects' => array(
      array(
        'name' => 'image_scale',
        'data' => array(
          'width' => 100,
          'height' => 100,
          'upscale' => 1,
        ),
        'weight' => 0,
      ),
    ),
  );

  // Preview.
  $styles['gallery_default_preview_550'] = array(
    'effects' => array(
      array(
        'name' => 'image_scale',
        'data' => array(
          'width' => 550,
          'height' => 550,
          'upscale' => 0,
        ),
        'weight' => 0,
      ),
    ),
  );
  return $styles;
}