Commit b424333b

mo k <mo@mokhan.ca>
2012-08-11 02:49:02
set the creation thumbnails to a height of 180px.
1 parent d8969ae
Changed files (1)
app/views/shared/_creation_image_gallery.html.erb
@@ -6,7 +6,7 @@
         <h5><a href="<%= url_for creation %>"><%= short_name(creation, 20) %></a></h5>
         <h6><a href="<%= url_for profile_path(creation.user) %>"><%= shrink(creation.user.name, 20) %></a></h6>
       </div>
-      <a href="<%= url_for creation %>"><img src="<%= creation.image.thumb.url %>" alt="<%= creation.name %>" style="width:260px;" /></a>
+      <a href="<%= url_for creation %>"><img src="<%= creation.image.thumb.url %>" alt="<%= creation.name %>" style="width:260px;height:180px;" /></a>
       <div class="caption">
         <a href="<%= url_for creation_favorites_path(:creation_id => creation.id) %>"><span><%= creation.favorites.count %></span><i class="icon-heart"></i></a>
         <a href="<%= url_for creation %>#comments"><span class="badge badge-success" title="<%= pluralize( creation.comment_threads.count, "comments") %>"><%= creation.comment_threads.count %></span></a>