{if $display_method == 'index_photos'}
{get_photo details=$photo size='t' output='html' style='max-width:none' height='140'}
{/if} {if $display_method == 'index_sidebar'}
{get_photo details=$photo size='m' output='html' width='300' class='valignMid'}
{$photo.collection_name|truncate:35}
{$photo.views|number_format} {lang code='views'}
{/if} {if !$display_method}
{get_photo details=$photo size='m' output='html'}
{/if}