I’m trying to extract EXIF information from images using jQuery.
I’ve tried using a script I found here but I can’t get it to read exif data from externally hosted image files. I’ve posted a simple example page here. The code is tiny so you can just view-source to see what I tried.
Does anyone know either what I’m doing wrong or if there there is another way to do it?
-Matt
The plugin works off requesting the image again via a binary XmlHttpRequest, something you just can’t do on a remote domain due to the same-origin policy…the browser does a pretty good job of (by default) separating which domains interact with others, this is one of those cases (for security reasons).
Sorry the answer sucks, but I don’t think you’re not going to be able to do this on a remote image, on a domain you don’t control.