Ignore:
Timestamp:
Jul 10, 2011, 4:36:46 PM (13 years ago)
Author:
flop25
Message:

omg i did it ! dynamic generation of thumbnails.tpl
admin page for width and this dynamic generation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/stripped_black_bloc/template/thumbnails.tpl

    r10851 r11699  
    22  {foreach from=$thumbnails item=thumbnail}
    33  <div class="bloc">
    4         <a href="{$thumbnail.URL}" style="background: url({$thumbnail.TN_SRC}) no-repeat scroll center center transparent; height: {$thumbnail.TN_HEIGHT}px; width: {$thumbnail.TN_WIDTH}px; opacity: 0.75; max-width:150px;" >
     4        <a href="{$thumbnail.URL}" style="background: url({$thumbnail.TN_SRC}) no-repeat scroll center center transparent; height: {$thumbnail.TN_HEIGHT}px; width: {$thumbnail.TN_WIDTH}px; opacity: 0.75;" >
    55          {if isset($thumbnail.NAME)}{$thumbnail.NAME}{else}{$thumbnail.TN_TITLE}{/if}
    66        </a>
Note: See TracChangeset for help on using the changeset viewer.