uploading images v1
added break after pic
removed testing code
allowed only image uploads