Ignore:
Timestamp:
May 2, 2012, 6:29:56 AM (12 years ago)
Author:
rvelices
Message:

multi size:

  • fix external imagick issues when rotation was required
  • fix: derivative were generated continuosly until a first save performed in the admin screen
  • added sharpen param in the new config screen
  • increased the sharpen range (10% is less than before)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/configuration.php

    r14513 r14649  
    455455      }
    456456
    457       $common_quality = 50;
    458 
    459457      $tpl_vars = array();
    460458      foreach(ImageStdParams::get_all_types() as $type)
     
    487485          }
    488486          $tpl_var['sharpen'] = $params->sharpen;
    489           $tpl_var['quality'] = $params->quality;
    490          
    491           if ($params->quality > $common_quality and $tpl_var['enabled'])
    492           {
    493             $common_quality = $params->quality;
    494           }
    495487        }
    496488        $tpl_vars[$type]=$tpl_var;
    497489      }
    498490      $template->assign('derivatives', $tpl_vars);
    499       $template->assign('resize_quality', $common_quality);
     491      $template->assign('resize_quality', ImageStdParams::$quality);
    500492    }
    501493
Note: See TracChangeset for help on using the changeset viewer.