{if !$bUseLightbox} {img max_width="$iImgViewSize" src="`$sActualImage`" src_def="design/pic/noimage_120.jpg" alt="" id="mainimage"} {else} {if $iWidth > $iImgViewSize || $iHeight > $iImgViewSize} {img onmouseover="showInfo5('`$sEnlargeImage`', '', '');" onmouseout="return nd();" rel="lytebox" onclick="startLytebox('mainimage');" max_width="`$iImgViewSize`" src="`$sActualImage`" src_def="design/pic/noimage_120.jpg" alt="" id="mainimage"} {else} {img max_width="$iImgViewSize" src="`$sActualImage`" src_def="design/pic/noimage_120.jpg" alt=""} {/if} {/if}
{if isStaff()} [ {language text='delete'} ] {if $aItem.feature == 1}[ {language text="unmake_featured"} ]{else}[ {language text="make_featured_763"} ]{/if} {/if} [ {language text="leave_a_comment"} ]{if $bCanRate} [ {language text="rate_this_pic"} ]{/if}

{if $iPrevId} << {language text="prev_pic"}{/if} {if $iPrevId && $iNextId}|{/if} {if $iNextId}{language text="next_pic"} >> {/if}

{bookmarks}
{language text="date"}: {$aItem.time|date_format:$sMonthDateFormat}
{language text="views"}: {$aItem.view}
{language text="comments_67"}: {$aItem.comment}
{language text="rating"}: {$aItem.rating}
{language text="resolution"}: {$iWidth} x {$iHeight}
{language text="image_size"}: {$iFileSize|filesize}
{if $aItem.cname}
{language text="category_145"}: {$aItem.cname|ucwords}
{/if}
{language text="image_url_location"}:
{Account::Avatar sUser=$aItem.user iSize=75 class="pic1" onmouseover="showInfo5('`$aItem.user`', '', '');this.className='pic2';" onmouseout="this.className='pic1';return nd();"}


{Comments::AddForm type='gallery' alert_id=$aItem.user_id}
{Comments::List type='gallery' totalCount=$aItem.comment}