View Full Version : EXIF data in comments
02-21-2005, 05:30 PM
I looked at http://www.pixelpost.org/forum/viewtopic.php?t=366&highlight=exif that thread, and did everything in it...and I still do not have the EXIF data in the comments. I have it enabled:
EXIF Your php was compiled with exif-enabled. This means you can add additional exif-information to your images such as camera model, aperture, exposure time and more.
There are certain tags to add to your templates for this. Check pixelpost homepage to learn more.
And it works on the main page...but not in the comments. Any suggestions?
Edit: Site is felloweskimo.net/photo
are you sure that your photos have exif data in them?
i know you probably know, but i had to ask anyway..
just right click your photo (on your computer) and choose properties..
If you dont see any exif data, you wont see it on the site...
let me know if its there and i'll help...i had some similar problems..
02-21-2005, 07:33 PM
I looked at the produced html from your comment page and it seems the tags
didn't compile to their nessesary values or even to blank. that means the exif extention is not avaialbe or other error occured that prevented the code from execution.
are you sure that they apear on you main page. I don't see them there
02-21-2005, 07:38 PM
They appear on the main page, See, the original template had the EXIF data on the main page. I wanted it in the comments. So I copied the data tags from the main page to the comments, and deleted them on the main page. Well, they worked on the main page, but not on the comments...
I am 100% that the current photo up there has EXIF data. To make sure, I also put the tags on the main page, and they worked. Then I removed them. The previous one doesnt because of post processing, but I know the one up there does. And as far as 'compiling to their nessessary values', you might as well be speaking greek. I have no idea what that means. Sorry for being php dumb.
ah!....i see now...
ya know, i never got mine working either until i download exif.php and included it in my index.php....
i'll dig further.
02-21-2005, 07:46 PM
maybe somthing's wrong with you index.php. PM it to me. as well as your template for comments
02-21-2005, 08:10 PM
Oh I find out! but that's an amazing bug but that's not a bug;)
The problem is with early exiting the index.php file in the popup action before replacing the EXIF tags with proper values.
to correct this jus move up the exif section of index.php above the commenting section. for this
1) first backup your index.php
2) cut the index.php file from the line says
// EXIF STUFF
to the end of the lines says
$tpl = ereg_replace("<EXIF_CAMERA_MAKE>",$info_camera_manu,$tpl);
$tpl = ereg_replace("<EXIF_CAMERA_MODEL>",$info_camera_model,$tpl);
$tpl = ereg_replace("<EXIF_LENS>",$lens,$tpl);
$tpl = ereg_replace("<EXIF_ISO>",$iso,$tpl);
3) paste it before the line says
// visitor information in comments
which should be right the above the section you have cut.
4) save your index.php and have fun!
02-21-2005, 08:13 PM
btw, this issue was discussed here
and the remedy was there too. please do some more search before asking questions.
good idea...makes sense too....im gonna try that tonight...
02-21-2005, 09:28 PM
Thank you, its fixed.
Im sorry for asking questions, I'll remember that if there is a next time. As you can see from my first post, I did search, I did not see that remedy in that post. Sorry for not catching it and asking.
02-26-2005, 08:49 PM
so is there this <EXIF_ISO> tag yet?
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.