Changeset 29979
- Timestamp:
- Oct 10, 2014, 10:59:30 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Fotorama/main.inc.php
r29978 r29979 151 151 $type = $big_type; 152 152 } 153 $type_params = ImageStdParams::get_by_type($type); 154 $big_type_params = ImageStdParams::get_by_type($big_type); 153 155 154 156 if ($conf['Fotorama']['nav'] == 'thumbs' or $conf['Fotorama']['fullscreen_nav'] == 'thumbs') … … 177 179 { 178 180 $row['src_image'] = new SrcImage($row); 179 $row['derivative'] = DerivativeImage::get_one($type, $row['src_image']);181 $row['derivative'] = new DerivativeImage($type_params, $row['src_image']); 180 182 if ($row['derivative'] == null) 181 183 { 182 184 $row['derivative'] = $row['src_image']; 183 185 } 184 $row['derivative_big'] = DerivativeImage::get_one($big_type, $row['src_image']);186 $row['derivative_big'] = new DerivativeImage($big_type_params, $row['src_image']); 185 187 if ($row['derivative_big'] == null) 186 188 { … … 190 192 if ($has_thumbs) 191 193 { 192 $row['derivative_thumb'] = new DerivativeImage($thumb_params, $row['src_image']); ;194 $row['derivative_thumb'] = new DerivativeImage($thumb_params, $row['src_image']); 193 195 if ($row['derivative_thumb'] == null) 194 196 {
Note: See TracChangeset
for help on using the changeset viewer.