added basic image uploading