Skip to content

Commit

Permalink
Merge pull request yiisoft#2229 from klevron/2204
Browse files Browse the repository at this point in the history
  • Loading branch information
qiangxue committed Jan 31, 2014
2 parents 87d3618 + 7786fa5 commit 2629074
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/imagine/BaseImage.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public static function thumbnail($filename, $width, $height, $mode = Manipulator
$img = $img->thumbnail($box, $mode);

// create empty image to preserve aspect ratio of thumbnail
$thumb = static::getImagine()->create($box);
$thumb = static::getImagine()->create($box, new Color('FFF', 100));

// calculate points
$size = $img->getSize();
Expand Down

0 comments on commit 2629074

Please sign in to comment.