You are here

function slick_example_image_default_styles in Slick extras 7.3

Same name and namespace in other branches
  1. 7.2 slick_example/slick_example.module \slick_example_image_default_styles()

Implements hook_image_default_styles().

File

slick_example/slick_example.module, line 104
Provides Slick carousel examples.

Code

function slick_example_image_default_styles() {
  $styles = array();
  $styles['slick'] = array(
    'effects' => array(
      array(
        'name' => 'image_scale_and_crop',
        'data' => array(
          'width' => 1380,
          'height' => 420,
        ),
        'weight' => 0,
      ),
    ),
  );
  $styles['slick_140x80'] = array(
    'effects' => array(
      array(
        'name' => 'image_scale_and_crop',
        'data' => array(
          'width' => 140,
          'height' => 80,
        ),
        'weight' => 0,
      ),
    ),
  );
  $styles['slick_300'] = array(
    'effects' => array(
      array(
        'name' => 'image_scale_and_crop',
        'data' => array(
          'width' => 300,
          'height' => 300,
        ),
        'weight' => 0,
      ),
    ),
  );
  $styles['slick_600'] = array(
    'effects' => array(
      array(
        'name' => 'image_scale_and_crop',
        'data' => array(
          'width' => 600,
          'height' => 600,
        ),
        'weight' => 0,
      ),
    ),
  );
  $styles['slick_600x460'] = array(
    'effects' => array(
      array(
        'name' => 'image_scale_and_crop',
        'data' => array(
          'width' => 600,
          'height' => 460,
        ),
        'weight' => 0,
      ),
    ),
  );
  $styles['slick_600x320'] = array(
    'effects' => array(
      array(
        'name' => 'image_scale_and_crop',
        'data' => array(
          'width' => 600,
          'height' => 320,
        ),
        'weight' => 0,
      ),
    ),
  );
  $styles['slick_640x360'] = array(
    'effects' => array(
      array(
        'name' => 'image_scale_and_crop',
        'data' => array(
          'width' => 640,
          'height' => 360,
        ),
        'weight' => 0,
      ),
    ),
  );
  $styles['slick_1280'] = array(
    'effects' => array(
      array(
        'name' => 'image_scale_and_crop',
        'data' => array(
          'width' => 1280,
          'height' => 520,
        ),
        'weight' => 0,
      ),
    ),
  );
  return $styles;
}