Answer the question
In order to leave comments, you need to log in
How to pull out geo data from EXIF and place it on the image?
Good afternoon!
The crux of the matter is this, I'm making a blog and the client wants the images to be processed upon loading and the GEO location data of the form: 45.028683, 38.986107
But I'm also considering the option with "pre-batch processing" i.e. I selected 100 photos, pressed start and the program automatically in where someday it will write the whole thing on the photo (impose the coordinates on the image - it takes them from exif).
Is there such a program? If not, how to do it in PHP? where to dig?
Answer the question
In order to leave comments, you need to log in
Because for...in iterates over not exactly what you expect. In your case, it will be more convenient to use some other version of the loop - the same for...of for example.
let cur = document.getElementsByClassName('aaa');
You get an html collection that you "can't" apply methods to, like for arrays
Use querySelectorAll and live happily or play with .call Example with forEach
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question