Changeset 13683 for trunk/include/derivative_std_params.inc.php
- Timestamp:
- Mar 23, 2012, 10:58:12 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/derivative_std_params.inc.php
r13472 r13683 22 22 define('IMG_SQUARE', 'square'); 23 23 define('IMG_THUMB', 'thumb'); 24 define('IMG_XXSMALL', '2small'); 25 define('IMG_XSMALL', 'xsmall'); 24 26 define('IMG_SMALL', 'small'); 25 27 define('IMG_MEDIUM', 'medium'); … … 42 44 final class ImageStdParams 43 45 { 44 private static $all_types = array(IMG_SQUARE,IMG_THUMB,IMG_SMALL,IMG_MEDIUM,IMG_LARGE,IMG_XLARGE,IMG_XXLARGE); 46 private static $all_types = array( 47 IMG_SQUARE,IMG_THUMB,IMG_XXSMALL,IMG_XSMALL,IMG_SMALL,IMG_MEDIUM,IMG_LARGE,IMG_XLARGE,IMG_XXLARGE 48 ); 45 49 private static $all_type_map = array(); 46 50 private static $type_map = array(); … … 163 167 self::$type_map[IMG_SQUARE] = new DerivativeParams( SizingParams::square(120,120) ); 164 168 self::$type_map[IMG_THUMB] = new DerivativeParams( SizingParams::classic(144,144) ); 165 self::$type_map[IMG_SMALL] = new DerivativeParams( SizingParams::classic(240,240) ); 166 self::$type_map[IMG_MEDIUM] = new DerivativeParams( SizingParams::classic(432,432) ); 167 self::$type_map[IMG_LARGE] = new DerivativeParams( SizingParams::classic(648,576) ); 168 self::$type_map[IMG_XLARGE] = new DerivativeParams( SizingParams::classic(864,648) ); 169 self::$type_map[IMG_XXLARGE] = new DerivativeParams( SizingParams::classic(1200,900) ); 169 self::$type_map[IMG_XXSMALL] = new DerivativeParams( SizingParams::classic(240,240) ); 170 self::$type_map[IMG_XSMALL] = new DerivativeParams( SizingParams::classic(432,324) ); 171 self::$type_map[IMG_SMALL] = new DerivativeParams( SizingParams::classic(576,432) ); 172 self::$type_map[IMG_MEDIUM] = new DerivativeParams( SizingParams::classic(792,594) ); 173 self::$type_map[IMG_LARGE] = new DerivativeParams( SizingParams::classic(1008,756) ); 174 self::$type_map[IMG_XLARGE] = new DerivativeParams( SizingParams::classic(1224,918) ); 175 self::$type_map[IMG_XXLARGE] = new DerivativeParams( SizingParams::classic(1656,1242) ); 170 176 } 171 177
Note: See TracChangeset
for help on using the changeset viewer.