Hello Arun,
Navigator.camera.getPicture cannot return both DATA_URL and FILE_URI (see Cordova
Camera API). If you need to save the picture and have a way to display it as well, use
Data URI css technique e.g.:
url('data:image/png;base64,BASE64_DATA') /* From where you stored you base64 data */
Make sure to change the content type depending on the MIME type of the image you’re embedding. Additionally make sure to keep the data URI all on one line without line-breaks.
Regards,
Steve
Telerik
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Missed our first webinar, watch it here.
Share feedback and vote for features on our Feedback Portal.