Working imageupload and retrieve