Browse files

Add a specific width/height to the main images.

Dribbble now supports @2x images so we have to resize them manually.
  • Loading branch information...
1 parent fca7cb1 commit c8613d7874170d5a674e8aeada992f9b3fc2828d @twe4ked committed Oct 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/views/shots/index.html.haml
View
2 app/views/shots/index.html.haml
@@ -1,2 +1,2 @@
- @shots.each do |shot|
- %li= link_to (image_tag shot.image_url), shot.url, :title => shot.player.name
+ %li= link_to image_tag(shot.image_url, :width => 400, :height => 300), shot.url, :title => shot.player.name

0 comments on commit c8613d7

Please sign in to comment.