Ignore:
Timestamp:
Apr 27, 2012, 7:51:01 PM (12 years ago)
Author:
Zaphod
Message:

version 2.2.0.beta for Piwigo 2.4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/stripped/template/picture_content.tpl

    r12960 r14481  
    44        $this->assign( 'stripped', $stripped );
    55{/php}
    6 {if isset($high)}
     6{if isset($U_ORIGINAL)}
    77        {if ($HDShadowbox_loaded)}
    88                {assign var='pwghigh' value=true}
     
    1212{/if}
    1313<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}
     14        {if isset($U_ORIGINAL)}
     15                {if isset($pwghigh)}<a href="{$U_ORIGINAL}" rel="shadowbox" class="hd_link">&nbsp;</a>{/if}
     16                {if isset($winhigh)}<div onclick="openDisplayHigh('{$U_ORIGINAL}');" class="hd_link">&nbsp;</div>{/if}
     17                {if ($stripped.imagePreloadHD)}<div class="preload" style="display:none;">{$U_ORIGINAL}</div>{/if}
    1818        {/if}
    1919        {if ($stripped.imageArrows) }
     
    2828                {/if}
    2929        {/if}
    30         <img src="{$SRC_IMG}" style="width:{$WIDTH_IMG}px;height:{$HEIGHT_IMG}px;" alt="{$ALT_IMG}" id="theMainImage" class="hideTabs">
     30  {define_derivative name='derivative_stripped_pict' type='xlarge'}
     31  {assign var=derivative value=$pwg->derivative($derivative_stripped_pict, $current.src_image)}
     32        <img src="{$derivative->get_url()}" {$derivative->get_size_htm()} alt="{$ALT_IMG}" id="theMainImage" class="hideTabs">
    3133</div>
Note: See TracChangeset for help on using the changeset viewer.