Fixed in the current build. This happens when a height has been set to clip the images vertically, such as GALLERY with the heights argument. In
vault/core/model/parser/handle/vw.php, find:
Code:
if ($clipheight)
{
$img_styles[] = 'max-width: ' . $size . 'px';
$img_styles[] = 'max-height: ' . $clipheight;
}
else
{
if ($size > $maxx)
{
$size = $maxx;
}
$img_styles[] = 'width: ' . $size . 'px';
$y = intval($size / $aspect);
$img_styles[] = 'height: ' . $y . 'px';
}
Replace with:
Code:
if ($clipheight)
{
$img_styles[] = 'max-width: ' . $size . 'px';
$img_styles[] = 'max-height: ' . $clipheight;
}
if ($size > $maxx)
{
$size = $maxx;
}
$img_styles[] = 'width: ' . $size . 'px';
$y = intval($size / $aspect);
$img_styles[] = 'height: ' . $y . 'px';