Ignore:
Timestamp:
Mar 26, 2011, 3:29:27 PM (13 years ago)
Author:
flop25
Message:

feature:2230
the size of the squared thumbnails depend of the sizes of all the thumbnails : the clipping is an average of the clipping of each of the thumbnails

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/themes/default/template/element_set_ranks.tpl

    r9586 r9864  
    4444    <ul class="thumbnails">
    4545      {foreach from=$thumbnails item=thumbnail}
    46       <li class="rank-of-image">
    47         <div class="clipwrapper">
     46      <li class="rank-of-image" style="width:{$thumbnail.CLIPING_li}px; height:{$thumbnail.CLIPING_li}px; ">
     47        <div class="clipwrapper" style="width:{$thumbnail.CLIPING}px; height:{$thumbnail.CLIPING}px; ">
    4848          <div class="clip" style="clip:rect({$thumbnail.CLIP_TOP}px {$thumbnail.CLIP_RIGHT}px {$thumbnail.CLIP_BOTTOM}px {$thumbnail.CLIP_LEFT}px);top:-{$thumbnail.CLIP_TOP}px;left:-{$thumbnail.CLIP_LEFT}px">
    4949            <img src="{$thumbnail.TN_SRC}" class="thumbnail" alt="">
Note: See TracChangeset for help on using the changeset viewer.