source: extensions/stripped_black_bloc/template/picture_content.tpl @ 14166

Last change on this file since 14166 was 14166, checked in by flop25, 9 years ago

stuffs_thumbnails.tpl compatible piwigo 2.4
comment_list.tpl picture.tpl picture_content.tpl added from stripped and updated for 2.4 : xlarge used on picture.tpl, comment_list.tpl has been updated to work with pwgstuff too

File size: 1.2 KB
Line 
1{php}
2        global $pwg_loaded_plugins, $conf, $stripped;
3        $this->assign('HDShadowbox_loaded', isset($pwg_loaded_plugins[ 'HDShadowbox' ]));
4        $this->assign( 'stripped', $stripped );
5{/php}
6{if isset($high)}
7        {if ($HDShadowbox_loaded)}
8                {assign var='pwghigh' value=true}
9        {else}
10                {assign var='winhigh' value=true}
11        {/if}
12{/if}
13<div id="theImg" {if ($stripped.imageFrame)}class="img_frame"{/if}>
14        {if isset($high)}
15                {if isset($pwghigh)}<a href="{$high.U_HIGH}" rel="shadowbox" class="hd_link">&nbsp;</a>{/if}
16                {if isset($winhigh)}<div onclick="openDisplayHigh('{$high.U_HIGH}');" class="hd_link">&nbsp;</div>{/if}
17                {if ($stripped.imagePreloadHD)}<div class="preload" style="display:none;">{$high.U_HIGH}</div>{/if}
18        {/if}
19        {if ($stripped.imageArrows) }
20                {if isset($previous)}
21                        <a href="{$previous.U_IMG}" class="img_nav img_prev">&nbsp;</a>
22                {/if}
23                {if isset($next)}
24                        <a href="{$next.U_IMG}" class="img_nav img_next">&nbsp;</a>
25                {/if}
26        {/if}
27  {define_derivative name='derivative_stripped_pict' type='xlarge'}
28  {assign var=derivative value=$pwg->derivative($derivative_stripped_pict, $current.src_image)}
29        <img src="{$derivative->get_url()}" {$derivative->get_size_htm()} alt="{$ALT_IMG}" id="theMainImage" class="hideTabs">
30</div>
Note: See TracBrowser for help on using the repository browser.