Changeset 14481
- Timestamp:
- Apr 27, 2012, 7:51:01 PM (12 years ago)
- Location:
- extensions/stripped
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/stripped/readme.txt
r14451 r14481 31 31 Changelog 32 32 --------- 33 34 *** version 2.2.0.beta 35 36 - first version for Piwigo 2.4 (beta test) 33 37 34 38 *** version 2.1.4 -
extensions/stripped/template/mainpage_categories.tpl
r12960 r14481 9 9 <div class="illustration"> 10 10 <a href="{$cat.URL}"> 11 <img src="{$ cat.TN_SRC}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '|@strip_tags:false} - {'display this album'|@translate}">11 <img src="{$pwg->derivative_url($derivative_params, $cat.representative.src_image)}" alt="{$cat.TN_ALT}" title="{$cat.NAME|@replace:'"':' '|@strip_tags:false} - {'display this album'|@translate}"> 12 12 </a> 13 13 </div> -
extensions/stripped/template/picture.tpl
r12968 r14481 1 {define_derivative name='derivative_stripped_pict' type='xlarge'} 2 {assign var=derivative value=$pwg->derivative($derivative_stripped_pict, $current.src_image)} 3 {assign var='size' value=$derivative->get_size()} 1 4 {literal} 2 5 <script type="text/javascript"> 3 var image_w = {/literal}{$ WIDTH_IMG}{literal}4 var image_h = {/literal}{$ HEIGHT_IMG}{literal}6 var image_w = {/literal}{$size[0]}{literal} 7 var image_h = {/literal}{$size[1]}{literal} 5 8 </script> 6 9 {/literal} -
extensions/stripped/template/picture_content.tpl
r12960 r14481 4 4 $this->assign( 'stripped', $stripped ); 5 5 {/php} 6 {if isset($ high)}6 {if isset($U_ORIGINAL)} 7 7 {if ($HDShadowbox_loaded)} 8 8 {assign var='pwghigh' value=true} … … 12 12 {/if} 13 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"> </a>{/if}16 {if isset($winhigh)}<div onclick="openDisplayHigh('{$ high.U_HIGH}');" class="hd_link"> </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"> </a>{/if} 16 {if isset($winhigh)}<div onclick="openDisplayHigh('{$U_ORIGINAL}');" class="hd_link"> </div>{/if} 17 {if ($stripped.imagePreloadHD)}<div class="preload" style="display:none;">{$U_ORIGINAL}</div>{/if} 18 18 {/if} 19 19 {if ($stripped.imageArrows) } … … 28 28 {/if} 29 29 {/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"> 31 33 </div> -
extensions/stripped/template/thumbnails.tpl
r12893 r14481 1 {if !empty($thumbnails)} 2 {php} 3 global $pwg_loaded_plugins, $conf, $stripped; 4 $this->assign('downloadMulti_loaded', isset($pwg_loaded_plugins[ 'download_multi' ])); 5 $this->assign( 'stripped', $stripped ); 6 {/php} 1 {if !empty($thumbnails)}{strip} 2 {combine_script id='jquery.ajaxmanager' path='themes/default/js/plugins/jquery.ajaxmanager.js' load='footer'} 3 {combine_script id='thumbnails.loader' path='themes/default/js/thumbnails.loader.js' require='jquery.ajaxmanager' load='footer'} 4 {*define_derivative name='derivative_params' width=160 height=90 crop=true*} 7 5 <ul class="thumbList"> 8 {strip}{foreach from=$thumbnails item=thumbnail} 6 {foreach from=$thumbnails item=thumbnail} 7 {assign var=derivative value=$pwg->derivative($derivative_params, $thumbnail.src_image)} 8 {php} 9 global $pwg_loaded_plugins, $conf, $stripped; 10 $this->assign('downloadMulti_loaded', isset($pwg_loaded_plugins[ 'download_multi' ])); 11 $this->assign( 'stripped', $stripped ); 12 {/php} 9 13 <li> 10 14 <span class="wrap1"> 11 15 <span class="wrap2 {if !($stripped.showThumbLegend)}wrap2full{/if}"> 12 16 <a href="{$thumbnail.URL}"><div class="thumbframe"><div class="thumbpos"> 13 <img class="thumbnail" src="{$thumbnail.TN_SRC}" alt="{$thumbnail.TN_ALT}" {if ((isset($thumbnail.NAME))&!($downloadMulti_loaded))}title="{$thumbnail.NAME}"{else}title="{$thumbnail.TN_TITLE}"{/if} />17 <img class="thumbnail" {if !$derivative->is_cached()}data-{/if}src="{$derivative->get_url()}" alt="{$thumbnail.TN_ALT}" {if ((isset($thumbnail.NAME))&!($downloadMulti_loaded))}title="{$thumbnail.NAME}"{else}title="{$thumbnail.TN_TITLE}"{/if} /> 14 18 {if (isset($stripped.imagePreload) & isset($stripped.imagePreloadThumbs))}<div class="preload" style="display:none;">{$thumbnail.FILE_PATH}</div>{/if} 15 19 </div></div></a> … … 35 39 </span> 36 40 </li> 37 {/foreach} {/strip}41 {/foreach} 38 42 </ul> 39 {/ if}43 {/strip}{/if} -
extensions/stripped/themeconf.inc.php
r12961 r14481 65 65 } 66 66 67 // Preload function 68 67 69 if (isset($stripped['imagePreload']) && ($user['theme'] == 'stripped')) { 68 70 add_event_handler('loc_end_picture', 'assign_next_images_url'); … … 112 114 } 113 115 114 $picturenext[$in]['image_url'] = get_image_url( $picturenext[$in] );116 $picturenext[$in]['image_url'] = ''; /*get_image_url( $picturenext[$in] );*/ 115 117 } 116 118 … … 123 125 } 124 126 125 126 127 ?>
Note: See TracChangeset
for help on using the changeset viewer.