The patch "Automatically Rescale Your Images to a Certain Size" has a bug where it's creating floating point values for the image width (e.g. width="123.456").
The fix is to change the line
$t_height = $height * ($t_width / $width);
to
$t_height = round($height * ($t_width / $width));
The fix is to change the line
$t_height = $height * ($t_width / $width);
to
$t_height = round($height * ($t_width / $width));
Comment