{* $Id$ *}{if $popup}
{else} {title}{tr}Browsing Image:{/tr} {$name}{/title}
{button href="tiki-browse_gallery.php?galleryId=$galleryId&offset=$offset" class="btn btn-default" _icon_name="previous" _text="{tr}Return to Gallery{/tr}"} {if $tiki_p_admin_galleries eq 'y' or ($user and $user eq $owner)} {button href="tiki-edit_image.php?galleryId=$galleryId&edit=$imageId&sort_mode=$sort_mode" class="btn btn-default" _icon_name="edit" _text="{tr}Edit Image{/tr}"} {/if}
{/if} {capture name=buttons} {***** when not sliding buttons *****}
{* --- first image --- *} {* --- previous image --- *} {icon name='backward'} {* --- previous scale --- *} {if $scaleinfo.prevscale} {icon name='view'} {/if} {* --- original size --- *} {if $resultscale} {icon name='image'} {/if} {* --- next scale --- *} {if $scaleinfo.nextscale} {icon name='view'} {/if} {* --- popup launch --- *} {if !$popup} {icon name='popup'} {/if} {* --- next image --- *} {icon name='forward'} {* --- launch slideshow --- *} {if $listImgId} {icon name='next'} {/if} {* --- last image --- *}
{***** when sliding buttons *****} {/capture} {$smarty.capture.buttons}
{if $scaleinfo.clickscale >= 0} {/if} {tr}Image{/tr} {if $scaleinfo.clickscale >= 0} {/if}
{if !$popup} {$smarty.capture.buttons} {/if} {if $popup eq ""}

{if $tiki_p_admin_galleries eq 'y' or ($user and $user eq $owner)} {/if}
{tr}Image Name:{/tr}{$name}
{tr}Created:{/tr}{$created|tiki_long_datetime}
{tr}Image size:{/tr}{$xsize}x{$ysize}
{tr}Image Scale:{/tr}{if $resultscale}{$xsize_scaled}x{$ysize_scaled}{else}{tr}Original Size{/tr}{/if}
{tr}Hits:{/tr}{$hits}
{tr}Description:{/tr}{$description}
{tr}Author:{/tr}{$image_user|userlink}
{tr}Move image:{/tr}


{tr}Include the image in a tiki page using the following syntax:{/tr}
{if $resultscale == $defaultscale} {literal}{{/literal}img id={$imageId}{literal}}{/literal} {elseif !$resultscale} {literal}{{/literal}img id={$imageId}&scalesize=0){literal}}{/literal} {else} {literal}{{/literal}img id={$imageId}&scaled&scalesize={$resultscale}{literal}}{/literal} {/if}
{tr}To include the image in an HTML page:{/tr}
{if $resultscale == $defaultscale} <img src="{$url_show}?id={$imageId}" /> {elseif !$resultscale} <img src="{$url_show}?id={$imageId}&scalesize=0" /> {else} <img src="{$url_show}?id={$imageId}&scalesize={$resultscale}" /> {/if}
{tr}To link to this page from another tiki page:{/tr}
{literal}[{/literal}tiki-browse_image.php?imageId={$imageId}{literal}]{/literal}
{/if}
{* id="{$rootid}browse_image" *} {if $listImgId} {/if} {if $popup} {/if}