<% carousel_slides.each_with_index do |slide,index| %>
<% if index == 0 %>
<% status = 'item active' %>
<% else %>
<% status = 'item' %>
<% end %>
<% slide_img = iiif_image_tag(slide.image_pid,
{:size => slide.size,
:alt => slide.title,
:region => slide.region}) %>
<%= link_to slide_img, solr_document_path(:id => slide.object_pid) %>
<%= slide.title %>
<%= slide.institution %>
<% end %>