You are here

function uc_product_image_default_styles in Ubercart 7.3

Implements hook_image_default_styles().

File

uc_product/uc_product.module, line 1771
The product module for Ubercart.

Code

function uc_product_image_default_styles() {
  $styles = array();
  $styles['uc_product'] = array(
    'effects' => array(
      array(
        'name' => 'image_scale',
        'data' => array(
          'width' => '250',
          'height' => '250',
          'upscale' => 0,
        ),
        'weight' => '0',
      ),
    ),
  );
  $styles['uc_product_full'] = array(
    'effects' => array(),
  );
  $styles['uc_product_list'] = array(
    'effects' => array(
      array(
        'name' => 'image_scale',
        'data' => array(
          'width' => '100',
          'height' => '100',
          'upscale' => 0,
        ),
        'weight' => '0',
      ),
    ),
  );
  $styles['uc_thumbnail'] = array(
    'effects' => array(
      array(
        'name' => 'image_scale',
        'data' => array(
          'width' => '35',
          'height' => '35',
          'upscale' => 0,
        ),
        'weight' => '0',
      ),
    ),
  );
  return $styles;
}