added a preliminary version of upload image to pictures