Page 1 of 1

Store image in localstorage

Posted: Mon Apr 07, 2014 12:15 pm
by pritu patel

I am using carousel to route image.
I set image in carousel using rest service.
Now I want to store all image in local storage from rest service and retrieve it from local storage to carousel.
How it possible??


Store image in localstorage

Posted: Mon Apr 07, 2014 1:03 pm
by Maryna Brodina

Hello!

Could you clarify what are you going to store in localStorage? base64 encoded images or links (names) of images?


Store image in localstorage

Posted: Mon Apr 07, 2014 1:08 pm
by pritu patel

I have no idea with Base64 and name of image.
But I can get image from my url.
This is my url and got image in carousel from this url.


Store image in localstorage

Posted: Mon Apr 07, 2014 1:50 pm
by Maryna Brodina

Save url into localStorage and use the way you need. You can also try mock services, here is more information http://docs.appery.io/documentation/r...