What I’m looking for is a way to ‘upload’ an image in an offline web application. I’m hoping there is a way to store the selected image in the cache and then upload it when they have internet access again. Is something like this possible?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use HTML5 FileSystem to store an image file, it is implemented in many of browsers not all yet. And then you can upload an image file to server with HTTP POST message. And, it is safe to encode in image file in Base64 format when uploading by HTTP.
To check out the internet connection, you can use XMLHTTPRequest.