Skip to content

Commit

Permalink
Add a specific width/height to the main images.
Browse files Browse the repository at this point in the history
Dribbble now supports @2x images so we have to resize them manually.
  • Loading branch information
twe4ked committed Oct 23, 2012
1 parent fca7cb1 commit c8613d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/shots/index.html.haml
Original file line number Diff line number Diff line change
@@ -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.