This is due to the image_scale function called.
Since it will not scale an image to a new one with the same size.

Added is a patched code for the imagefield_file.inc file.
Which changes the eval in the imagefield_file_insert function,
to also check for same size.

One could also create thumbs using the imageapi if available.
If so create the thumb using the imageapi_image_scale
function with an $upscale = true for images which need to be upscaled.
Then all thumbs woul have same size.

CommentFileSizeAuthor
imagefield_file.patch551 bytesdeplifer

Comments

quicksketch’s picture

Status: Needs review » Fixed

Thanks committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.