You are here

function asset_image_image_default_styles in Asset 7

Implements hook_image_default_styles().

File

modules/asset_image/asset_image.module, line 29
Asset image module.

Code

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

  // Exported image style: asset_image_full.
  $styles['asset_image_full'] = array(
    'name' => 'asset_image_full',
    'effects' => array(
      0 => array(
        'label' => 'Scale',
        'help' => 'Scaling will maintain the aspect-ratio of the original image. If only a single dimension is specified, the other dimension will be calculated.',
        'effect callback' => 'image_scale_effect',
        'dimensions callback' => 'image_scale_dimensions',
        'form callback' => 'image_scale_form',
        'summary theme' => 'image_scale_summary',
        'module' => 'image',
        'name' => 'image_scale',
        'data' => array(
          'width' => '664',
          'height' => '487',
          'upscale' => 0,
        ),
        'weight' => '2',
      ),
    ),
  );

  // Exported image style: asset_image_small.
  $styles['asset_image_small'] = array(
    'name' => 'asset_image_small',
    'effects' => array(
      1 => array(
        'label' => 'Scale',
        'help' => 'Scaling will maintain the aspect-ratio of the original image. If only a single dimension is specified, the other dimension will be calculated.',
        'effect callback' => 'image_scale_effect',
        'dimensions callback' => 'image_scale_dimensions',
        'form callback' => 'image_scale_form',
        'summary theme' => 'image_scale_summary',
        'module' => 'image',
        'name' => 'image_scale',
        'data' => array(
          'width' => '259',
          'height' => '160',
          'upscale' => 0,
        ),
        'weight' => '2',
      ),
    ),
  );
  return $styles;
}