How to get the URL of the taken picture

How to get the URL of the taken picture

BY 26 Mar 2018 Web Application Development

Hello everyone,

I am using a code to get a picture from the camera of the emulator, besides I have the following code to display the picture URL:

            //picture url
            var picURL = windowURL.createObjectURL(fileInput[0]);
            if(picURL !=null){
                console.log(picURL);
            }

 

when I execute, I got this result:

     blob:file:///f235a851-813f-490a-a422-8a69f4b742c7

In fact, I want to get the URL of the picture where it is stored (as waell as the pixture extension).

 

Thank you in advance.

Written by