Small changes on image upload