Changeset 13170


Ignore:
Timestamp:
02/15/12 15:47:03 (8 years ago)
Author:
patdenice
Message:

multisize

Location:
trunk/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/derivative.inc.php

    r13068 r13170  
    259259    if ($size) 
    260260    { 
    261       return 'width='.$size[0].' height='.$size[1]; 
     261      return 'width="'.$size[0].'" height="'.$size[1].'"'; 
    262262    } 
    263263  } 
  • trunk/include/template.class.php

    r13167 r13170  
    900900  } 
    901901 
     902  function derivative($type, $img) 
     903  { 
     904    return new DerivativeImage($type, $img); 
     905  } 
     906 
    902907  function derivative_url($type, $img) 
    903908  { 
Note: See TracChangeset for help on using the changeset viewer.