I really don't know why it's resizing at all to be honest. But it doesn't make sense to me to *not* resize images that are *larger* than the given dimensions, but that's what the comment seems to say. But as I added in my post above, in 4.1.8 it doesn't look like those values are used anywhere (the line has been commented out).
[S]Are you able to provide those original images for testing?[/S] If not I can probably find my own somewhere.
ETA: Don't worry about it, I'll just resize some images to 800x533.
--------------- Added [DATE]1323027606[/DATE] at [TIME]1323027606[/TIME] ---------------
In your attachment manager, what do you have for maximum file size, width, height for each file type? To answer your above question, I think you could end up with "randomly" resized images if you have the max file file set to something small, because it looks like the code first resizes the image if necessary to be within the max dimensions, then resizes again if the file size is > the max.
BTW, when I did a test with 5 .jpg images that were all 800x533, they all ended up the same size but larger than the originals (I haven't quite figured out why yet).
|