Commit b4a9b5b5

mo k <mo@mokhan.ca>
2013-01-26 15:27:35
use large images instead of originals.
1 parent 8b6ac7f
Changed files (1)
app
views
app/views/creations/index.html.erb
@@ -80,7 +80,7 @@
         <% @creations.each do |creation| %>
           <div class="span4">
             <div class="thumbnail">
-              <a href="<%= url_for creation %>"><img src="<%= creation.primary_image.image_url %>" /></a>
+              <a href="<%= url_for creation %>"><img src="<%= creation.primary_image.image.large.url %>" /></a>
               <div class="caption">
                 <h3><a href="<%= url_for creation %>"><%= creation.name %></a> <em><small>by <a href="<%= url_for profile_path(creation.user) %>"> <%= shrink(creation.user.name, 20) %></a></small></em></h3>
                 <p><%= creation.story %></p>