source: extensions/Versa/template/picture_content.tpl @ 31977

Last change on this file since 31977 was 31943, checked in by lexming, 5 years ago

Fix script path conflicts

  • Property svn:executable set to *
File size: 1.2 KB
Line 
1{if !$current.selected_derivative->is_cached()}
2{combine_script id='jquery.ajaxmanager' path='themes/default/js/plugins/jquery.ajaxmanager.js' load='footer'}
3{combine_script id='thumbnails.loader' path='themes/Versa/js/thumbnails.loader.js' require='jquery.ajaxmanager' load='footer'}
4{footer_script}var error_icon = "{$ROOT_URL}{$themeconf.icon_dir}/errors_small.png"{/footer_script}
5{/if}
6
7<div id="theBackImage" style="{if $current.selected_derivative->is_cached()}background-image: url({$current.selected_derivative->get_url()}){else}background-image: url({$ROOT_URL}{$themeconf.img_dir}/ajax_loader.gif); background-size: 220px;{/if}">
8<img {if $current.selected_derivative->is_cached()}src="{$current.selected_derivative->get_url()}" {$current.selected_derivative->get_size_htm()}{else}src="{$ROOT_URL}{$themeconf.img_dir}/ajax_loader.gif" data-src="{$current.selected_derivative->get_url()}"{/if} alt="{$ALT_IMG}" id="theMainImage" title="{if isset($COMMENT_IMG)}{$COMMENT_IMG|@strip_tags:false|@replace:'"':' '}{else}{$current.TITLE_ESC} - {$ALT_IMG}{/if}" style="{str_replace(array("width","height"),array("max-width","max-height"),$current.selected_derivative->get_size_css())}">
9</div>
10
Note: See TracBrowser for help on using the repository browser.