Permalink
Browse files

fix image sizing issue

  • Loading branch information...
1 parent 13d8e78 commit 37588bde79f92bd3aa1fbe160a4e27a5fca80761 @KellyLSB KellyLSB committed Apr 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 _bundle.php
View
2 _bundle.php
@@ -256,7 +256,7 @@ public function renderPhoto($file, $type = false, $x = null, $y = null) {
$photo = new Manipulator($file);
if($x > $y)
- $photo->resize($x, 'min');
+ $photo->resize($x, 'max');
else
$photo->resize($y, 'min');

0 comments on commit 37588bd

Please sign in to comment.