Ignore:
Timestamp:
Jan 17, 2012, 10:58:18 PM (12 years ago)
Author:
rvelices
Message:

feature 2548 multisize - code cleanup + better usage in category_cats + i.php logs memory usage peak

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/themes/default/template/mainpage_categories.tpl

    r12123 r12920  
     1{strip}{html_style}
     2.thumbnailCategory DIV.illustration{ldelim}
     3        width: {$derivative_params->max_width()+5}px;
     4}
    15
     6.content .thumbnailCategory .description{ldelim}
     7        height: {$derivative_params->max_height()+5}px;
     8}
     9{/html_style}{/strip}
    210<ul class="thumbnailCategories">
    311{foreach from=$category_thumbnails item=cat}
     
    614                        <div class="illustration">
    715                        <a href="{$cat.URL}">
    8                                 <img src="{$cat.TN_SRC}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '|@strip_tags:false} - {'display this album'|@translate}">
     16                                <img src="{$pwg->derivative_url($derivative_params, $cat.representative.src_image)}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '|@strip_tags:false} - {'display this album'|@translate}">
    917                        </a>
    1018                        </div>
Note: See TracChangeset for help on using the changeset viewer.