Last change
on this file since 11699 was
11699,
checked in by flop25, 13 years ago
|
omg i did it ! dynamic generation of thumbnails.tpl
admin page for width and this dynamic generation
|
File size:
534 bytes
|
Line | |
---|
1 | {if !empty($thumbnails)} |
---|
2 | {foreach from=$thumbnails item=thumbnail} |
---|
3 | <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;" > |
---|
5 | {if isset($thumbnail.NAME)}{$thumbnail.NAME}{else}{$thumbnail.TN_TITLE}{/if} |
---|
6 | </a> |
---|
7 | <div class="title">{if isset($thumbnail.NAME)}{$thumbnail.NAME}{else}{$thumbnail.TN_TITLE}{/if}</div> |
---|
8 | </div> |
---|
9 | {/foreach} |
---|
10 | {/if} |
---|
Note: See
TracBrowser
for help on using the repository browser.