Image size fix for manually uploaded images.