@SanduCuragau wrote:
I’ve seen so much information scattered around about the native camera plugin I don’t even know where to start, also it’s always about the previous versions of ionic, could someone lead me in the way of or link me a doc that would help me achieve the simple following in ionic 4:
done > have an image on html which has a default source set by me from the assets folder
prob > when I click on image on html it opens the phone’s gallery
prob > I select the photo from the gallery and it either
1- returns a the image’s source link in a string, and from there on I show the image on the html through that source link
or
2- i save that image in localstorage and use it from it’s set key from there on, so that even if image is deleted or moved from gallery, will still be displayed in appFirst, I’m not sure which of these 2 approaches is better, I know it really depends on the situation, and mine is a simple test app where I just wanna allow the user to locally have a profile image
Posts: 1
Participants: 1