Changes for image upload (not working)