• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Lack of interest Show camera information when "hover" the photo

Slavik

XenForo moderator
Staff member
#2
You would need an addon that takes the raw uploaded images, extracts the exif data and then overlays it onto the photo.
 

EQnoble

Well-known member
#3

If you can give me an image from a modern camera that would supply lots of exif data I can test this out and tweak it and see if I can do something with it, if not I may be able to get something started and then I can post it and let anyone who wants to try to finish it to do so.
 

ManOnDaMoon

Well-known member
#4
There is a PHP function dedicated to retrieve EXIF data. The question is: how does XF handle uploaded data, does it erases any metadata when creating the file in data/attachments? I'll have a look.

I believe any recent smartphone camera picture contains EXIF data for you to test, EQNoble.
 

EQnoble

Well-known member
#5
yeah that is where i was testing most of my images from.... but a lot of newer cameras give it other fields like gps location, iso speed , exposure time ect....

so after testing I found that I can do multiple images....and I tested an image I uploaded to an xf board (the first image in the following example was uploaded to xf and then I grabbed it)...it retained the data it appears.

 

ManOnDaMoon

Well-known member
#6
Yup: the *.data file correponding to the uploaded image in internal_data/attachments keeps the EXIF info. This should be fairly doable.
 

EQnoble

Well-known member
#9
Ok I tried moving on with this a lil ...

here is what I got...

and in case you don't have the ability to watch youtube vids here is a screenshot of it while hovering one of the images...please mind that there is really no styling as that is simple enough to add later as well as creating some sort of grid to display the data within a parent element on hover... example1.png
 
#10
Is it possible in Xenforo or can anyone suggest any related method. I just want to show this information to the user in our photo forum:)

All the best
Morten
................................................................................................................................................................
SEO COMPANY