pass the style attribute along
authorMichael J. Rubinsky <mrubinsk@horde.org>
Fri, 31 Dec 2010 17:14:47 +0000 (12:14 -0500)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Fri, 31 Dec 2010 17:14:47 +0000 (12:14 -0500)
ansel/lib/ImageGenerator/Mini.php

index 2dd0b70..9b40e5f 100755 (executable)
@@ -15,7 +15,8 @@ class Ansel_ImageGenerator_Mini extends Ansel_ImageGenerator
     {
         $generator = Ansel_ImageGenerator::factory('SquareThumb', array('width' => min(50, $this->_dimensions['width']),
                                                                         'height' => min(50, $this->_dimensions['height']),
-                                                                        'image' => $this->_image));
+                                                                        'image' => $this->_image,
+                                                                        'style' => $this->_params['style']));
         return $generator->create();
     }