You are here

function epsacrop_image_default_styles in EPSA Crop - Image Cropping 7.2

Same name and namespace in other branches
  1. 8.2 epsacrop.module \epsacrop_image_default_styles()

Implements hook_image_default_styles().

@access public

Return value

array

File

./epsacrop.module, line 241
The main file of module

Code

function epsacrop_image_default_styles() {
  $styles = array();
  $styles['epsacrop_thumb'] = array();
  $styles['epsacrop_thumb']['effects'] = array(
    array(
      'name' => 'image_scale',
      'data' => array(
        'width' => 512,
        'height' => 384,
        'upscale' => 0,
      ),
      'weight' => 0,
    ),
  );
  return $styles;
}