<% if pages > 1 %> <% else %> <%= header %> <% end %> <% set_var thumbnail_width="140" thumbnail_height="140" squared %> <% set_var preview_width="650" preview_height="650" if="image_description_enabled || image_attributes_enabled" %> <% set_var preview_width="750" preview_height="750" unless="image_description_enabled || image_attributes_enabled" %>

# <%= header %>

<% if pages > 1 %>
<% end %>
<%= thumbnails %>