View Full Version : A mod that reads exif data?
paulket
03-24-2012, 09:46 PM
Can someone please tell me if there is a VB4 mod available which members could upload or link images to in order to read the exif data? ... Kind of like what Digital Point has on their site.
I couldn't find anything by doing a search.
paulket
03-26-2012, 01:15 PM
God it would be nice to get an answer instead of having the question pushed pages down in one day...
If you don't get an answer it probably means that no one knows of any existing mod.
I actually started on this mod a while back - it's not too complicated because php has built-in functions to read the data, it's just a matter of figuring out when to read and store it and where to display it. The functions to read the data are slow so I don't think it's practical to read it every time it's displayed, so I was going to make a place in the database for it.
Anyway, if anyone is interested in this I could let you have the little bit that I did get done, or else maybe I'll get back to it eventually.
paulket
03-26-2012, 04:01 PM
If you don't get an answer it probably means that no one knows of any existing mod.
Thank you for replying, kh99, that's what I figured but it just becomes a little frustrating having questions pushed down ... not only about mods but CSS questions that are easily answered by those who know in other sections of vBulletin.org by other members who could get answers by doing a simple search (which I always do before asking).
Anyway, I was looking for something that members could upload a photo and get an output like the Example Output (about halfway down the page) here http://www.sno.phy.queensu.ca/~phil/exiftool/ My site's members would then be able to copy and paste the output into some custom BB Code that I have for displaying exif data.
If I knew how to add the script to my server and then have it displayed on a vBulletin page (on my site) in an iframe, I would do it.
donholloway
07-07-2012, 11:44 PM
kh99, I would be interested in trying to pick up and expand on some of the work that you've done. I have been looking at another (in the graveyard) mod that used Jhead to read and write the data.
I'd rather stay in PHP. My goal is to provide users with a way to see their EXIF data, make sure that they have copyrights, good meta data, etc. I have a photography forum, and I'm surprised by how many people don't really understand any of it.
Yes, at one point I had a plugin that got the exif data from an uploaded file and saved it in a database field. Unfortunately a while back I had a number of problems on my home computer (where I work on everything) and that was one of the things I lost, so I don't have anything to give you. But there wasn't a lot to it - there's a php function that reads exif data, so I just called it on the temporary upload file if it was of the correct type. The biggest problem was figuring out the plugin hook where the right info was available, and I don't remember which one that was. I also remember there was a problem with getting it back out of the database at the right times because I couldn't find hooks in the right places. But if you only want to write something for your own site you always have the option of editing the vb files to get around that (I could have done that for a released mod as well, but I try to avoid it).
donholloway
07-10-2012, 02:38 PM
kh99,
Thanks for the response. Based upon what I can find, I will try to share it on here.
John Lester
05-17-2013, 03:32 AM
or else maybe I'll get back to it eventually.
Stop kidding yourself it's a goner :D Kind of like my unsub mod ... stuck in limbo because I just haven't had the gumption to delve into the next phase ;)
tbworld
05-17-2013, 04:48 AM
The biggest problem was figuring out the plugin hook where the right info was available, and I don't remember which one that was.
Like you said the solution is not difficult, but hard to implement. I have embedded all that stuff in the core which of course makes it a bit difficult to share. I tried originally to make everything work by hooks, but it just got to difficult to debug everything and keep track of the flow of the code.
Anyway, I am giving you 'kudos' that you made it work through the hook system at one point. I believe I used 'imagemagic' or 'jhead'. I would have to look it up again.
Sorry 'paulket' I did not reply, I didn't feel my answer would have been any help to you. You were not asking on how to make this work, but if there was a mod.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.