Hi there,
I am trying to display an image after getting it from the imagePicker plugin, but cannot make it work.
The image uri in iOS is like “/var/mobile/containers/Data/blablabla/…jpg”.
Is that even possible to use it with an img tag? or is it necessary to convert it to Base64 first?
Probably a noob question but I did some research and did not find a clear answer.
In my app, I have used both ways (normal src image path and base64 like (‘data:image/jpg;base64,’ + response.content)), and both work.
Have you tried inspecting the HTML to check if the image src attribute path is correct?
If it is correct, try copying it and open that path in browser to check if image opens correctly.
Thanks for your help. My problem was actually with the imagePicker plugin, rather than the camera. The imagePicker does not have the option you were talking about. But thanks!