<% image_file = @images[0].file.dup %>
<% month_filter = ((image_file[4] == ?/) ? %Q[^#{image_file[0,4]}/#{image_file[5,6]}] : %Q[^#{image_file[0,6]}]) %>
»<%= format_link_viewer_date(@images[0].date[0,4], "^"+@images[0].date[0,4]) %>-<%= format_link_viewer_date(@images[0].date[4,2], month_filter) %>-<%= format_link_viewer_date(@images[0].date[6,2], @images[0].date[0,8]) %> | <%= format_link_viewer_category(@images[0].subtitle) %>
<% image_file = @images[0].file.dup %>
<% if @use_mid_image %>
<% if image_file[4] == ?/ %>
<% image_file[4] = "/m" %>
<% else %>
<% image_file = "m" + image_file %>
<% end %>
<% end %>
alt="<%= CGI::escapeHTML(@images[0].title) %>" title="<%= CGI::escapeHTML(@images[0].title) %>" class="imagebody">
|
<% if @show_exif and @exifstr.length != 0 %>
- EXIF Data -
<%= @exifstr[0] %>
<% i = 1 %>
<% while i < @exifstr.length %>
<% if @exifstr.length > 5 and i == @exifstr.length / 2 %>
|
<% end %>
<% if @exifstr[i][0,2] == "--" %>
<%= @exifstr[i] %>
<% else %>
- <%= @exifstr[i] %>
<% end %>
<% i = i + 1 %>
<% end %>
|
<% end %>