{$SECTION_TITLE}{$LEVEL_SEPARATOR}
{$current.TITLE}
{$PHOTO}
{include file='picture_nav_buttons.tpl'|@get_extent:'picture_nav_buttons'}
{if isset($current.unique_derivatives) && count($current.unique_derivatives)>1}
{footer_script require='jquery'}{literal}
function changeImgSrc(url,typeSave,typeMap)
{
var theImg = document.getElementById("theMainImage");
if (theImg)
{
theImg.removeAttribute("width");theImg.removeAttribute("height");
theImg.src = url;
theImg.useMap = "#map"+typeMap;
}
jQuery('#derivativeSwitchBox .switchCheck').css('visibility','hidden');
jQuery('#derivativeChecked'+typeMap).css('visibility','visible');
document.cookie = 'picture_deriv='+typeSave+';path={/literal}{$COOKIE_PATH}{literal}';
}
(window.SwitchBox=window.SwitchBox||[]).push("#derivativeSwitchLink", "#derivativeSwitchBox");
{/literal}{/footer_script}
{strip}
{/foreach} {if isset($U_ORIGINAL)} {combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'} {'Original'|@translate} {/if}
{/strip}
{/if}
{strip}{if isset($U_SLIDESHOW_START)}
{/if}{/strip}
{strip}{if isset($U_METADATA)}
{/if}{/strip}
{strip}{if isset($current.U_DOWNLOAD)}
{/if}{/strip}
{if isset($PLUGIN_PICTURE_BUTTONS)}{foreach from=$PLUGIN_PICTURE_BUTTONS item=button}{$button}{/foreach}{/if}
{if isset($PLUGIN_PICTURE_ACTIONS)}{$PLUGIN_PICTURE_ACTIONS}{/if}
{strip}{if isset($favorite)}
{/if}{/strip}
{strip}{if isset($U_SET_AS_REPRESENTATIVE)}
{/if}{/strip}
{strip}{if isset($U_PHOTO_ADMIN)}
{/if}{/strip}
{strip}{if isset($U_CADDIE)}{*caddie management BEGIN*}
{footer_script}
{literal}function addToCadie(aElement, rootUrl, id)
{
if (aElement.disabled) return;
aElement.disabled=true;
var y = new PwgWS(rootUrl);
y.callService(
"pwg.caddie.add", {image_id: id} ,
{
onFailure: function(num, text) { alert(num + " " + text); document.location=aElement.href; },
onSuccess: function(result) { aElement.disabled = false; }
}
);
}{/literal}
{/footer_script}
{/if}{/strip}{*caddie management END*}
{'Photo sizes'|@translate}
{foreach from=$current.unique_derivatives item=derivative key=derivative_type}
get_type() ne $current.selected_derivative->get_type()} style="visibility:hidden"{/if}>✔
{$derivative->get_type()|@translate} ({$derivative->get_size_hr()})
{/foreach} {if isset($U_ORIGINAL)} {combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'} {'Original'|@translate} {/if}
{$ELEMENT_CONTENT}
{if isset($COMMENT_IMG)}
{*
*}{*
*}{$COMMENT_IMG}
{/if} {if isset($U_SLIDESHOW_STOP)} {/if}
{if $DISPLAY_NAV_THUMB}
{/if}
-
{strip}
{if $display_info.author and isset($INFO_AUTHOR)}
- {'Author'|@translate}
- {$INFO_AUTHOR}
- {'Created on'|@translate}
- {$INFO_CREATION_DATE}
- {'Posted on'|@translate}
- {$INFO_POSTED_DATE}
- {'Dimensions'|@translate}
- {$INFO_DIMENSIONS}
- {'File'|@translate}
- {$INFO_FILE}
- {'Filesize'|@translate}
- {$INFO_FILESIZE}
- {'Tags'|@translate}
- {foreach from=$related_tags item=tag name=tag_loop}{if !$smarty.foreach.tag_loop.first}, {/if}{$tag.name}{/foreach}
- {'Albums'|@translate}
-
-
{foreach from=$related_categories item=cat}
- {$cat} {/foreach}
- {'Visits'|@translate}
- {$INFO_VISITS}
- {'Rating score'|@translate}
- {if $rate_summary.count} {$rate_summary.score} ({$rate_summary.count|@translate_dec:'%d rate':'%d rates'}) {else} {'no rate'|@translate} {/if}
- {if isset($rating.USER_RATE)}{'Update your rating'|@translate}{else}{'Rate this photo'|@translate}{/if}
- {'Who can see this photo?'|@translate}
- {combine_script id='core.scripts' load='async' path='themes/default/js/scripts.js'} {footer_script require='jquery'}{strip} function setPrivacyLevel(id, level){ (new PwgWS('{$ROOT_URL}')).callService( "pwg.images.setPrivacyLevel", { image_id:id, level:level}, { method: "POST", onFailure: function(num, text) { alert(num + " " + text); }, onSuccess: function(result) { jQuery('#privacyLevelBox .switchCheck').css('visibility','hidden'); jQuery('#switchLevel'+level).prev('.switchCheck').css('visibility','visible'); jQuery('#privacyLevelLink').text(jQuery('#switchLevel'+level).text()); } } ); } (window.SwitchBox=window.SwitchBox||[]).push("#privacyLevelLink", "#privacyLevelBox"); {/strip}{/footer_script}
-
{foreach from=$metadata item=meta}
- {$label}
- {$value}
{$COMMENT_COUNT|@translate_dec:'%d comment':'%d comments'}
{'Add a comment'|@translate}