finished image upload functionality up to 10 pictures