Ionic2 - Download Images and Save to Gallery

Asked

Viewed 430 times

0

You guys, simple doubt for you

How do I download an image that be in a server and then save them in the device Gallery (IOS and Android).

PS: I’m using Ionic 2

From now on I thank you all

  • VC can already recover the image from that server?

  • Yes. I saved them in another routine! I have her URL. but I need to download it to my device. How do I?

  • 1

    https://github.com/dsgriffin/ionic-2-file-transfer-example/blob/master/src/pages/home/home.ts

  • 1

    But before using the example I gave you you may need to convert the image to Base64, here is an answer that can help you. http://stackoverflow.com/questions/37890177/ionic2-load-and-save-image-to-device-using-cordova-file-transfer

  • I’m gonna take a look, but I really appreciate it right now!

  • 1

    Not at all, in case I can’t help you in more detail

  • Yeah. I’m not getting it. me add no Hangout: [email protected]

  • I don’t know if the previous message came, but I couldn’t!

Show 4 more comments
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.