I'm trying to get the absolute path to use as a static reference
<input type="file" onClick="getFilePath">
function getFilePath(e)
{
  console.log( e.target.files[0] );
}
but I'm getting only the name of the file..
for example if I need to open an image locally I need to provide the url
new ImageLayer({
            source: new Static({
              url: 'https://foo.bar.com/lorem/image.png',//Local path goes here
              projection: projection,
              imageExtent: extent
            })
          })
 
     
     
    