photomix/app/views/photos/show.html.erb
2009-05-25 21:39:43 +02:00

7 lines
257 B
Plaintext

<h1><%= @photo.title%></h1>
<%= image_tag APP_CONFIG[:thumbs_path_public] + @photo.album.path + "/" + @photo.id.to_s + "_large.jpg" %>
<br/>
Tagged with: <%= @photo.tag_list %>
<p><%= @photo.description %></p>
<br /><%= link_to "All albums", albums_path %>