{assign var=pd value=$photo.photo_details|json_decode}
{get_photo details=$object size='l' output='html' width='720'}

{$photo.views|number_format} {lang code='views'}

{include_template_file file='blocks/view_item/share_photo.html' photo=$photo type=p pid=$photo.photo_id} {include_template_file file='blocks/report.html' type='p' id=$photo.photo_id title=$photo.photo_title}
uploaded {$photo.date_added|niceTime} by {$user.username}

{$photo.photo_description}

{lang code='Collection'}
{$c.collection_name}
Tags
{$photo.photo_tags|tags:photos}
More
{$photoRating=cbv3_rating($photo,'video-bar')} {$photoRating}

{lang code='Photo Tags'}

{$other_photos=get_photos(['exclude'=>$photo.photo_id,'user'=>$photo.userid,'limit'=>15,'order'=>'views desc'])} {if $other_photos}

{lang code='Other Photos of '}{$photo.username}

    {foreach $other_photos as $ophoto} {include_template_file file='blocks/photo.html' photo=$ophoto display_method='view_item_sidebar'} {/foreach}
{/if} {sidebar('view-photo')}