I have an image that was uploaded by the user and I need to upload it to another page to display on the screen before sending it to the database.
Any suggestions how to do this?
I have an image that was uploaded by the user and I need to upload it to another page to display on the screen before sending it to the database.
Any suggestions how to do this?
Tip, you can save this image to one of the WebStores, so you have quick and easy access.
You can use localStorage: ( link )
to save the image stream:
localStorage.setItem('NAME','IMG_STREAM');
to get the stream:
localStorage.getItem('NAME');
You can track the values of the storages in the 'Application' tab in the browser development tool: