Skip to content

Commit

Permalink
Display image path
Browse files Browse the repository at this point in the history
Use by admin team during spreadsheet metadata validation before ingest.
Cherry pick @yf508 changes from 246a336
  • Loading branch information
paluchas committed Oct 13, 2020
1 parent dea2ba2 commit 672aace
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/views/entries/_image_zoom_small.erb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@

<% context_path = ENV["CONTEXT_PATH"] %>

<br/>Image: <%= session[:folio_image].split('/').last() %>

<% if session['alt_image'] != [] %>
<br/>UV image: <%= session[:alt_image][0].split('/').last() %>
<div style="margin-top: 20px; text-align: center">
<em><%= link_to "View UV image", "#", :onclick => "popup('#{context_path}/image_zoom_large/alt', 'image_zoom_large'); return false" %></em>
<%= link_to image_tag('magnifying_glass.png', :alt => 'magnifying glass icon', :class => 'icon', :style => 'position: relative; top: 7px', :title => 'Image zoom'), '#', :onclick => "popup('#{context_path}/image_zoom_large/alt', 'image_zoom_large'); return false", :title => "" %>
Expand Down

0 comments on commit 672aace

Please sign in to comment.