You are here

function ais_image_default_styles in Adaptive Image Styles (ais) 7

Implements hook_image_default_styles().

File

./ais.module, line 135
Adaptive Image Styles Module

Code

function ais_image_default_styles() {
  $styles = array();
  $styles['adaptive'] = array(
    'effects' => array(),
  );
  $styles['threshold-480'] = array(
    'effects' => array(
      array(
        'name' => 'image_scale',
        'data' => array(
          'width' => 480,
          'height' => 480,
          'upscale' => 0,
        ),
        'weight' => 0,
      ),
    ),
  );
  $styles['threshold-768'] = array(
    'effects' => array(
      array(
        'name' => 'image_scale',
        'data' => array(
          'width' => 768,
          'height' => 768,
          'upscale' => 0,
        ),
        'weight' => 0,
      ),
    ),
  );
  $styles['threshold-992'] = array(
    'effects' => array(
      array(
        'name' => 'image_scale',
        'data' => array(
          'width' => 992,
          'height' => 992,
          'upscale' => 0,
        ),
        'weight' => 0,
      ),
    ),
  );
  $styles['threshold-1382'] = array(
    'effects' => array(
      array(
        'name' => 'image_scale',
        'data' => array(
          'width' => 1382,
          'height' => 1382,
          'upscale' => 0,
        ),
        'weight' => 0,
      ),
    ),
  );
  return $styles;
}