{* @event frontend_collection.%plugin_id%.plain_list *} {if !empty($frontend_collection)}{foreach $frontend_collection as $item}{if !empty($item.plain_list)}{$item.plain_list}{/if}{/foreach}{/if} {foreach $photos as $photo}
{* UNCOMMENT THIS IF YOU WANT TO DISPLAY PHOTO NAMES if $photo.name}
{$photo.name}
{/if *} {if $photo.description} {if $photo.description|strstr:'

'}

{$photo.description}
{else}

{$photo.description}

{/if} {/if} {* UNCOMMENT THIS IF YOU WANT TO DISPLAY PHOTO RATING WITHIN ALBUMS if $photo.rate > 0}
{$wa->photos->ratingHtml($photo.rate, 16)}
{/if *}
{if !empty($photo.stack_nav)}
{$photo.stack_nav}
{/if}
{* @event prepare_photos_frontend.top_left.%plugin_id% *} {foreach $photo.hooks.top_left as $plugin => $output}{$output}{/foreach}
{* @event prepare_photos_frontend.top_right.%plugin_id% *} {foreach $photo.hooks.top_right as $plugin => $output}{$output}{/foreach}
{$wa->photos->getImgHtml($photo, '970x0', ['itemprop' => 'image'])} {* @event prepare_photos_frontend.plain.%plugin_id% *} {foreach $photo.hooks.plain as $plugin => $output}{$output}{/foreach}

{/foreach}
{if isset($pages_count) && $pages_count > 1}
{wa_pagination total=$pages_count attrs=['class' => "menu-h"]}
{/if}