I find the system overriding the image size settings supplied to the function when there is a leading '/' or when only the width or only the height is specified.
To avoid that, in the html_output.php file can I suggest a small modification to the zen_image function at or around line 245
[FONT="Courier New"] // only use proportional image when image is larger than proportional size
if ($image_size[0] < $width and $image_size[1] < $height) {
$image .= ' width="' . $image_size[0] . '" height="' . intval($image_size[1]) . '"';
} else {
$image .= ' width="' . round($width) . '" height="' . round($height) . '"';
}
} else {
// override on missing image to allow for proportional and required/not required
if (IMAGE_REQUIRED == 'false') {
return false;
} else {
$image .= ' width="' . intval(zen_not_null($width) ? $width : SMALL_IMAGE_WIDTH) . '" height="' . intval(zen_not_null($height) ? $height : SMALL_IMAGE_HEIGHT) . '"';
}
}
[/FONT]




