Changeset 14391


Ignore:
Timestamp:
Apr 25, 2012, 11:52:12 AM (8 years ago)
Author:
flop25
Message:

feature :
-square thumbnails for next/previous on picture page

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/floOS/OS_default/template/picture_nav_buttons.tpl

    r9677 r14391  
    2121{if isset($next) }
    2222<a class="navThumb" id="thumbNext" href="{$next.U_IMG}" title="{'Next'|@translate} : {$next.TITLE}" rel="next">
    23   <img src="{$next.THUMB_SRC}" class="thumbLink" id="linkNext" alt="{$next.TITLE}">
     23  <img src="{$next.derivatives.square->get_url()}" class="thumbLink" id="linkNext" alt="{$next.TITLE}">
    2424</a>
    2525{/if}
    26         <img src="{$current.THUMB_SRC}" class="thumbLink" id="thumbCurrent" alt="{$ALT_IMG}">
     26        <img src="{$current.derivatives.square->get_url()}" class="thumbLink" id="thumbCurrent" alt="{$ALT_IMG}">
    2727{if isset($previous) }
    2828<a class="navThumb" id="thumbPrev" href="{$previous.U_IMG}" title="{'Previous'|@translate} : {$previous.TITLE}" rel="prev">
    29   <img src="{$previous.THUMB_SRC}" class="thumbLink" id="linkPrev" alt="{$previous.TITLE}">
     29  <img src="{$previous.derivatives.square->get_url()}" class="thumbLink" id="linkPrev" alt="{$previous.TITLE}">
    3030</a>
    3131{/if}
Note: See TracChangeset for help on using the changeset viewer.