diff --git a/app/views/screenshot/single.html.erb b/app/views/screenshot/single.html.erb index 34c11d7..bcda4a5 100644 --- a/app/views/screenshot/single.html.erb +++ b/app/views/screenshot/single.html.erb @@ -2,6 +2,9 @@
- <%= image_tag @fpath , :width => size[0] , :height => size[1] %> + <%= link_to image_tag(@fpath , :width => size[0] , :height => size[1]), @fpath, :alt => @fname %> + <% if @fname then %> +

<%= @fname %>

+ <% end %>
\ No newline at end of file