Changeset 14649 for trunk/include/derivative_std_params.inc.php
- Timestamp:
- 05/02/12 06:29:56 (13 months ago)
- Files:
-
- 1 modified
-
trunk/include/derivative_std_params.inc.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/derivative_std_params.inc.php
r14581 r14649 52 52 private static $watermark; 53 53 public static $custom = array(); 54 public static $quality=95; 54 55 55 56 static function get_all_types() … … 110 111 self::$custom = @$arr['c']; 111 112 if (!self::$custom) self::$custom = array(); 113 if (isset($arr['q'])) self::$quality = $arr['q']; 112 114 } 113 115 else … … 115 117 self::$watermark = new WatermarkParams(); 116 118 self::$type_map = self::get_default_sizes(); 119 self::save(); 117 120 } 118 121 self::build_maps(); … … 137 140 $ser = serialize( array( 138 141 'd' => self::$type_map, 142 'q' => self::$quality, 139 143 'w' => self::$watermark, 140 144 'c' => self::$custom,
![(please configure the [header_logo] section in trac.ini)](http://piwigo.org/screenshots/piwigo_logo_on_white.png)