Better handling of image upload, now limited to 1280x960 px size.