Can Use location of the image when uploaded from library for ionic capacitor

Currently we only use the location of the images when the photos is taking our app. Can we use the location of the photo also when we add one from the library?
Do we have plugin or suggest a solution for this

It’s not really clear on what you mean. If you mean selecting a photo from the user’s phone, there is this plugin Capacitor File Picker Plugin - Capawesome.

iam using Camera.pickImages for selecting images from library, while selecting image from library from user’s phone can we capture the location of image when uploading from library

Location assuming GPS data? pickImages gives any exif data related to each photo, so you should be able to pull that info from there if it’s available.

GPSLatitude: “0/1,0/1,0/1”
GPSLongitude: “0/1,0/1,0/1” i have tried with exif metadata it is showing these values and getting an error location permission denied even though given permission to location and also having location over the image

can anyone help me and reply on this as i need this in my project

Hi, can anyone help me? I’m trying to get the location (GPS data) of images selected from the library using Camera.pickImages in Ionic Capacitor. But I’m getting weird GPS coordinates like “0/1,0/1,0/1” and an error saying location permission is denied, even though I’ve already given the permission.