Permalink
Browse files

Use weird aspect ratio

  • Loading branch information...
1 parent 1f3cf92 commit 3c898cc66a2ee8e2285b43df141b767a7a08ba1c @gyllen gyllen committed Jun 28, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/helpers/admin/file_preview_helper.rb
@@ -45,7 +45,7 @@ def typus_file_preview_for_carrierwave(attachment, options = {})
if !attachment.url.nil?
render "admin/helpers/file_preview",
:preview => attachment.url,
- :thumb => "/thumb" + attachment.url + "?w=80",
+ :thumb => "/thumb" + attachment.url + "?w=80&h=80",
:options => options
else
"no image"

0 comments on commit 3c898cc

Please sign in to comment.