Fixed image resizing logic when the image size is not actually changed. The original file is sent if no changes to the image are required.
Authored by: jakeroberts 2010-01-28
Parent: [r907]
Child: [r909]