I'm using $localStorage
service to store data in browser's cache. Actually I'm building a web application ( in angularjs
and PHP
) on which user can upload multiple images on canvas
, manipulate with them. What I was doing, when user uploads image/s, I was uploading this image to server and when user removes, I am unlinking it from the server but this approach only increases my server space with MBs/GBs
of garbage data.
I'm looking to change my approach. Can I upload bulk of images on localStorage
and when user submits his/her campaign, only then all of the images will send to the server ? Is there any approach can I go with ?