Changeset 16393 for extensions/flop_style/mainpage_categories/jPolaroid.tpl
- Timestamp:
- Jul 6, 2012, 4:32:18 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/flop_style/mainpage_categories/jPolaroid.tpl
r12673 r16393 20 20 {/literal} 21 21 {/html_head} 22 {assign var=crop value=$derivative_params->sizing->max_crop} 23 {if $crop==1} 24 {assign var=crop value=true} 25 {assign var=width value=$derivative_params->max_width()} 26 {else} 27 {assign var=crop value=false} 28 {assign var=width value=99999} 29 {/if} 30 {define_derivative name='derivative_jPolaroid' width=$width height=$derivative_params->max_height() crop=$crop} 22 31 23 32 <ul class="jpolaroid"> … … 25 34 <li> 26 35 <a href="{$cat.URL}" title="{$cat.NAME|@replace:'"':' '}"> 27 <img src="{$ cat.TN_SRC}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '} - {'display this album'|@translate}" >36 <img src="{$pwg->derivative_url($derivative_jPolaroid, $cat.representative.src_image)}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '} - {'display this album'|@translate}" > 28 37 </a> 29 38 </li>
Note: See TracChangeset
for help on using the changeset viewer.