Ignore:
Timestamp:
2013/08/10 11:00:04 (11 years ago)
Author:
poego
Message:

#2283 resize_image.phpの処理をCSSに変更
r23005 でresize_imageにIDを渡して処理するようにしたが、
やはり毎回DB処理、Resize処理を走らせるのは重いので、標準をCSSでの対応としてみる。
resize_image.php自体は残しているので使いたい場合は利用可能としておく

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/Smarty/templates/default/cart/index.tpl

    r22787 r23041  
    119119                                        <a class="expansion" target="_blank" href="<!--{$smarty.const.IMAGE_SAVE_URLPATH|h}--><!--{$item.productsClass.main_image|sfNoImageMainList|h}-->"> 
    120120                                    <!--{/if}--> 
    121                                     <img src="<!--{$smarty.const.ROOT_URLPATH|h}-->resize_image.php?image=<!--{$item.productsClass.main_list_image|sfNoImageMainList|h}-->&amp;width=65&amp;height=65" alt="<!--{$item.productsClass.name|h}-->" /> 
    122                                     <!--{if $item.productsClass.main_image|strlen >= 1}--> 
     121                                            <img src="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$item.productsClass.main_list_image|sfNoImageMainList|h}-->" style="max-width: 65px;max-height: 65;" alt="<!--{$item.productsClass.name|h}-->" /> 
     122                                            <!--{if $item.productsClass.main_image|strlen >= 1}--> 
    123123                                        </a> 
    124124                                    <!--{/if}--> 
Note: See TracChangeset for help on using the changeset viewer.