Line | |
---|
1 | {combine_css path="template-extension/flop_style/thumbnails/polaroid.css"} |
---|
2 | {html_style}{literal} |
---|
3 | ul.thumbnails a { |
---|
4 | height:{/literal}{$derivative_params->max_height()+30}{literal}px; |
---|
5 | } |
---|
6 | ul.thumbnails li |
---|
7 | { |
---|
8 | height:{/literal}{$derivative_params->max_height()+70}{literal}px; |
---|
9 | } |
---|
10 | {/literal}{/html_style} |
---|
11 | |
---|
12 | {define_derivative name='derivative_polaroid' width=$derivative_params->max_width() height=$derivative_params->max_height() crop=true} |
---|
13 | |
---|
14 | {if !empty($thumbnails)} |
---|
15 | {strip}{foreach from=$thumbnails item=thumbnail} |
---|
16 | <li> |
---|
17 | <a href="{$thumbnail.URL}" title="{if isset($thumbnail.NAME)}{$thumbnail.NAME|truncate:11:" [...]"|@replace:'"':' '}{/if}"> |
---|
18 | <img src="{$pwg->derivative_url($derivative_polaroid, $thumbnail.src_image)}" alt="{$thumbnail.TN_ALT}" title="{$thumbnail.TN_TITLE}" > |
---|
19 | </a> |
---|
20 | </li> |
---|
21 | {/foreach}{/strip} |
---|
22 | {/if} |
---|
Note: See
TracBrowser
for help on using the repository browser.