Index: branches/RC/core/units/images/image_tag_processor.php =================================================================== diff -u -N -r11921 -r11937 --- branches/RC/core/units/images/image_tag_processor.php (.../image_tag_processor.php) (revision 11921) +++ branches/RC/core/units/images/image_tag_processor.php (.../image_tag_processor.php) (revision 11937) @@ -1,6 +1,6 @@ SelectParam($params, 'Crop,crop'); if ($crop) { - $crop = $params['crop']; if (strpos($crop, ';') === false) { $crop = 'c|c'; } @@ -234,6 +233,12 @@ $max_height = null; } + $fill = $this->SelectParam($params, 'Fill,fill'); + if ($fill) { + $max_width = 'resize:' . $max_width . 'x' . $max_height . ';fill:' . $fill; + $max_height = null; + } + return $image_helper->ResizeImage($src_image, $max_width, $max_height); } elseif ($use_default_image) {