You are here

function flexslider_image_default_styles in Flex Slider 7

Same name and namespace in other branches
  1. 7.2 flexslider.module \flexslider_image_default_styles()

Implements hook_image_default_styles().

File

./flexslider.module, line 176
A light-weight, customizable image gallery plugin for Drupal based on jQuery

Code

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

  // Default image preset for FlexSlider
  $styles['flexslider_full'] = array(
    'effects' => array(
      array(
        'name' => 'image_scale_and_crop',
        'data' => array(
          'width' => 800,
          'height' => 500,
        ),
        'weight' => 0,
      ),
    ),
  );
  return $styles;
}