I have a file input to choose multiple files. I know how to display a preview of these images on the same page. But, in my case I want to choose images on page 1 and send this fileList to page 2 to display a preview before uploading. I thought it would be pretty simple, but dint get to have it work.
I looked into local storage and found that File APIs cant be serialized and so tried other work arounds with the FileReader on page 1 and set the reader results to local storage.. I dint want to go with the filereader approach as the number of files and sizes might be really big.
Any idea on how i could pass the fileList object from page 1 after file selection to page 2? I am not sure how FileObjects behave in the usual methods to pass data between pages... Thanks!