Line | |
---|
1 | {if !empty($thumbnails)} |
---|
2 | {php} |
---|
3 | global $stripped, $strippedslide; |
---|
4 | $this->assign( 'stripped', $stripped ); |
---|
5 | $this->assign( 'strippedslide', $strippedslide ); |
---|
6 | {/php} |
---|
7 | <script type="text/javascript"> |
---|
8 | {literal}var SlideMaxHeight = {/literal}{$strippedslide.maxHeight}; |
---|
9 | </script> |
---|
10 | {literal} |
---|
11 | <style type="text/css"> |
---|
12 | {literal}#slide .imgSlideImg { {/literal}height:{$strippedslide.maxHeight}px; max-height:{$strippedslide.maxHeight}px;{literal}}{/literal} |
---|
13 | </style> |
---|
14 | <div class="imgSlideZone{if ($stripped.themeStyle == 'white')} imgSlideZoneWhite{/if}"> |
---|
15 | {strip}{foreach from=$thumbnails item=thumbnail} |
---|
16 | {define_derivative name='slide' height=600 width=9999} |
---|
17 | {assign var=derivative value=$pwg->derivative($slide, $thumbnail.src_image)} |
---|
18 | <img class="imgSlideImg {if ($stripped.imageFrame)}slide_img_frame{/if}" src="{$derivative->get_url()}" alt="{$thumbnail.NAME}" title="{$thumbnail.NAME}" /> |
---|
19 | {/foreach}{/strip} |
---|
20 | </div> |
---|
21 | {/if} |
---|
Note: See
TracBrowser
for help on using the repository browser.