Ignore:
Timestamp:
Aug 2, 2012, 3:23:24 PM (12 years ago)
Author:
cljosse
Message:

[extensions] Autosize fix compatibility with 2.4, clean up...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Autosize/include/affiche.php

    r17308 r17309  
    3434      $model= $defined_types[count($defined_types)-1];
    3535      $selected_derivative =      $current['derivatives'][$model];
     36       $img_all= $derivative->get_all($derivative->src_image);
    3637      $template->append('current', array(
    3738      'selected_derivative' => $selected_derivative
     
    99100$value=0;
    100101$liste_type="";
     102if(isset($img_all ))
    101103foreach ($img_all as $img_select){
    102104          $imgSizeWH  =  $img_select->get_size();       
Note: See TracChangeset for help on using the changeset viewer.