<%# This is a search result view %> <% solr_doc = image.inner_object.solr_doc %>
  • <%= render :partial => 'catalog/_index_partials/identifier_and_action', locals: {document: image, counter: image_counter} %>
    <%= render :partial => 'catalog/_index_partials/thumbnail_display', locals: {document: image} %>
    <% if solr_doc.has?('desc_metadata__contributor_tesim') %>
    Creator(s):
    <%= render_index_field_value(document: solr_doc, field: 'desc_metadata__contributor_tesim') %>
    <% end %> <% if solr_doc.has?('desc_metadata__description_tesim') %>
    Description:
    <%= truncate(render_index_field_value(document: solr_doc, field: 'desc_metadata__description_tesim'), length: 150) %>
    <% end %> <% if solr_doc.has?('desc_metadata__date_created_tesim') %>
    Date:
    <%= solr_doc['desc_metadata__date_created_tesim'].first %>
    <% end %>