You are here

function itweak_upload_image_default_styles in iTweak Upload 7.3

Implements hook_image_default_styles().

File

./itweak_upload.module, line 127
iTweakUpload - Tweak attachments display and file upload forms.

Code

function itweak_upload_image_default_styles() {
  $styles = array();
  $styles['AttachmentThumbnail'] = array(
    'effects' => array(
      array(
        'name' => 'image_scale_and_crop',
        'data' => array(
          'width' => 60,
          'height' => 60,
          'upscale' => 1,
        ),
        'weight' => 0,
      ),
    ),
  );
  return $styles;
}