You cannot serialize file API object.
Not that it helps with the specific problem, but …
Although I haven’t used this, if you look at the article it seems that there are ways (although not supported yet by most browsers) to store the offline image data to some files so as to restore them afterward when the user is online (and not to use localStorage)
Related Contents:
- How to insert save to favourites feature link within modal?
- How to Store Objects in HTML5 localStorage?
- What is the max size of localStorage values?
- How do I store an array in localStorage? [duplicate]
- HTML5 Local storage vs. Session storage
- When do items in HTML5 local storage expire?
- In HTML5, is the localStorage object isolated per page/domain?
- How to save an image to localStorage and display it on the next page?
- How to check whether a Storage item is set?
- JavaScript; communication between tabs/windows with same origin [duplicate]
- Get HTML5 localStorage keys
- How to delete a localStorage item when the browser window/tab is closed?
- html5 localStorage error with Safari: “QUOTA_EXCEEDED_ERR: DOM Exception 22: An attempt was made to add something to storage that exceeded the quota.”
- HTML5 Local Storage fallback solutions [closed]
- Looping through localStorage in HTML5 and JavaScript
- Scope of sessionStorage and localStorage
- How to store objects in HTML5 localStorage/sessionStorage
- How to find the size of localStorage
- localStorage access from local file
- JavaScript localStorage object broken in IE11 on Windows 7
- Communication between tabs/windows with same origin [duplicate]
- Accessing localStorage from a webWorker
- Is it possible to use any HTML5 fanciness to export local storage to Excel?
- Saving and loading an image from localStorage
- How can I request an increase to the HTML5 localstorage size on iPad, like the FT web app does?
- Javascript + HTML5 localstorage [closed]
- how to open only whatsapp application when click on a hyperlink/image/button [duplicate]
- Invoking JavaScript code in an iframe from the parent page
- Capture HTML Canvas as gif/jpg/png/pdf?
- Force browser to download image files on click
- How can I count text lines inside an DOM element? Can I?
- How to autosize a textarea using Prototype?
- (HTML) Download a PDF file instead of opening them in browser when clicked
- How to detect when a page exits fullscreen?
- javascript – shuffle HTML list element order
- How to automatically reload a web page at a certain time?
- Programmatically selecting text in an input field on iOS devices (mobile Safari)
- TypeError: p.easing[this.easing] is not a function
- HTML – attributes vs properties [duplicate]
- How can I remove the “No file chosen” tooltip from a file input in Chrome?
- How to convert HTML to JSON using PHP?
- What is the current state of the art in HTML canvas JavaScript libraries and frameworks? [closed]
- Check if HTML snippet is valid with JavaScript
- How to detect overflow in div element?
- Attach a blob to an input of type file in a form
- Prepending “http://” to a URL that doesn’t already contain “http://”
- How can I highlight the line of text that is closest to the mouse?
- Simple HTML sanitizer in Javascript [closed]
- How do I disable and re-enable a button in with javascript?
- Drawing lines on html page