Fixing broken JPG image sizer.