Revised image upload schema