Maximum Resolution for Images: takes lowest value and applies it to both width and height in html output

jeffreydalton.info - January 12, 2008 - 01:00
Project:ImageField
Version:5.x-1.2-rc1
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

This is a strange new bug I have not seen in this module before. It now takes the lowest number of the width x height setting and applies it to the HTML output of the field. So I have an image type set to max 210x300 and the output after uploading is:

img src="http://mysite.com/myimage.jpg" alt="image-name.jpg" title="image-name.jpg" height="210" width="210"

The image is actually 3:2 ratio so the incorrect rendered dimensions creates a padding to the left and right of the image. Any idea if this is a bug that crept in to newer release? I have been using various versions of this module for 6-8 months now and have never seen this behavior until installing this release. It normally resizes the image to the max height OR width and then outputs the actual width x height of the final image in the HTML.

#1

jeffreydalton.info - January 12, 2008 - 01:04
Status:active» closed

Wow sorry for the lame post.. this turned out to be a corrupted image file.. Many apologies. This is a false bug report.

 
 

Drupal is a registered trademark of Dries Buytaert.