<%= button(:slideshow, _('View slideshow'), @page.url.merge(:slideshow => true))%>
<% @images.each do |a| %>
<% content_tag('li', :title => a.abstract, :class => 'image-gallery-item' ) do %>
<%= render :partial => partial_for_class(a.class), :object => a %>
<%= a.abstract && (a.abstract.first(40) + (a.abstract.size > 40 ? '…' : ''))%>
<% end %>
<% end %>
<%= will_paginate @images, :param_name => 'npage' %>