How to save data on localstorage


#1

hey guys… i’m building an app with ionic its kind of my first app i’d like to know how to save images to local storage… ok here is the full issue i would want thumbnails of users profile photos to be visible when users are offline i.e i would need to store thumbnails locally yh?? any ideas or better solutions would be welcome cause i wouldn’t want to pack up users memory space with my app data’s


#2

I’ve used imgcache.js that is simple and works well also with ionic.


#3

You can save images taken with $cordovaCamera to the file system. This article really helped me when I needed to do this:

http://devdactic.com/how-to-capture-and-store-images-with-ionic/