PDA

View Full Version : EXIF data (outdated)


pixelpunk
10-08-2004, 02:53 PM
For Exif data you need to have PHP compiled with --enable-exif flag. pixelpost admin panel will report if you have an exif-enabled install or not. If you do, pixelpost will automatically try to retrieve data from images. Exif support is not very tested, it works on my install with my camera and my images.

It might be shaky.

If anyone know of another way to retrieve exif-information without relying on php being compiled with enable-exif, please tell me. It don't appear to be the most common thing.

Also, bare in mind that the most widely used image-editing software, the almighty Adobe Photoshop, kills all exif data in any file touched by the application.

Update:

Guest helped me on this one, together with GreenTraveler:
You can preserve EXIF data in photoshop if you just do a save or save as instead of "Save for Web". Of course this only works if you've edited your image without using layers. The latest version of Photoshop (CS) supposedly saves EXIF data..

Thanks for the info there.

Anonymous
11-30-2004, 01:27 PM
Pixelpunk,
I've been playing around with this package:

http://www.offsky.com/software/exif/index.php

Its a EXIF parser using straight php, so it removes the requirement for having exif compiled into php. It would probably solve the exif issues.

Chris
[/url]

pixelpunk
12-01-2004, 11:31 AM
Thank you chris, I will take a look at this now.
If it works nice I'll definitely include it.

// punk

pixelpunk
12-01-2004, 11:58 AM
It's sweet, it's going in.
Look forward to get better and more reliable exif information in the next update.

Thanks a bunch for the link.

// punk

Anonymous
12-01-2004, 08:08 PM
No problem, I'm glad you'll be able to use it.

I'm looking forward to the next release.

Thanks,
Chris

Bluelens
12-09-2004, 02:19 PM
Thank you chris, I will take a look at this now.
If it works nice I'll definitely include it.

// punk

Sweet!

I know that right now I do not have EXIF enabled on my PHP so this will be great. I have never been able to do EXIF info on any of the scripts I have used so what a welcomed treat.

GregWilkerPhoto
12-19-2004, 06:40 PM
okay I checked in the Gen.Info. in my admin area

it says this:

PHP-version 4.3.1
MySQL version 3.23.43

GD-lib bundled (2.0 compatible)

Server software Apache

EXIF: Your php does not seem to be compiled with exif-enabled.

what can i do to correct this?

pixelpunk
12-19-2004, 08:11 PM
Greg, you need to re-compile and set the flag --enable-exif.

However, I have extremely little time now but I do have a version on my harddrive that uses another way (mentioned above) to get exif info.
Since I have so litttle time now, this is a few weeks ahead. Maybe in a week, at the most just a couple of days into 2005.
After that release your php do not need to be compiled with that option, it seems to be rather rare that it is.

// punk

GregWilkerPhoto
12-19-2004, 10:19 PM
thanks,


:D

Anonymous
02-02-2005, 08:11 PM
hi,

i see the "EXIF Your php does not seem to be compiled with exif-enabled" message...

so I cannot have Exif datas until my provides recompliles the PHP module, isn't it?

http://steff.altervista.org/fotoblog/

damn, pixelpost would be perfect with Exif data!

:roll:

Connie
02-02-2005, 08:25 PM
yes, one way would be to have PHP-installation modified

but look through this forum, search for "exifer", I think there is another way to get EXIF-information, if I remember right...
there are some messages concerning this

good luck!

Anonymous
02-02-2005, 09:06 PM
yes I already saw that Exifier, but I'm completely unaware of PHP and I can't use it.

thus I was wondering if pixelpunk will release an update... :wink:

thanks anyway, I like pixelpost! :)


Steff

danimal
02-22-2005, 03:06 AM
Can anyone tell me how I install exifer/where I put all the files I get when I download exifer? It seems as if it has it's own "index.php" page. I'm confused. Any help would be great.

raminia
02-22-2005, 09:12 AM
Can anyone tell me how I install exifer/where I put all the files I get when I download exifer? It seems as if it has it's own "index.php" page. I'm confused. Any help would be great.

I use exifer too. to some search on the forum please!
see this and the link within
http://www.pixelpost.org/forum/viewtopic.php?t=323&highlight=
which is this
http://www.pixelpost.org/forum/viewtopic.php?t=176&postdays=0&postorder=asc&start =15

raminia
02-22-2005, 10:04 AM
and see this one for step by step exifer install!
http://www.pixelpost.org/forum/viewtopic.php?t=304&highlight=comments+thumbnail

danimal
02-22-2005, 09:38 PM
I looked through the forums for a bit but felt I was going around in circles. Thanks for bringing me to the right place. I will try it tonight and report back.

danimal
02-23-2005, 03:00 AM
Thanks, ramina, for the help but nothing in the posts you recommended really helps me to sort out where all the files I received when I downloaded "exifer" go.

I have, in the "exifer1_4" folder I downloaded, four files and one folder. One of the files is a jpeg image. Do I place all of those on my server and at what level? The same level as "index.php" resides in my pixelpost installation? In a folder at that level? Do I pick out specific files form this set and leave others? I'm at a loss.

In addition I opened all of the php files inside of the "exifer1_4" folder I downloaded and, using the find command in Dreamweaver, could not find the word "require" that george says should be "around line 43" at:
http://www.pixelpost.org/forum/viewtopic.php?t=176&postdays=0&postorder=asc&start =15
I am not even sure what file he is referring to.

Any ideas?

raminia
02-23-2005, 06:26 AM
The solution is in 4 simple steps:

1) put exifer folder (with folder name exifer) in the main folder of your pixelpost where these folders reside: templates, thumbnails, admin, and ... . Do not change anything in the exifer.

2) change pixelpost's index.php at the top by adding this line
require_once("exifer/exif.php");

3) at the line about 306 of pixelpost's index.php, replace
// EXIF STUFF
if(extension_loaded(exif)) {

with
// EXIF STUFF
if(true) {


4) now exif data should apear. there is still some nessesary modifications for correct appearace that you can find the solutions in the threads I mentioned before.

raminia
02-23-2005, 06:48 AM
In addition I opened all of the php files inside of the "exifer1_4" folder I downloaded and, using the find command in Dreamweaver, could not find the word "require" that george says should be "around line 43" at:
http://www.pixelpost.org/forum/viewtopic.php?t=176&postdays=0&postorder=asc&start =15
I am not even sure what file he is referring to.
Any ideas?

1) He was refering to pixelpost's index.php
2) rename the exifer folder to the "exifer" to avoid further confusion
3) Do what he told in that post with your pixelpost's index.php. I forgot to mention them in my last reply.
4) again: change nothing in the exifer folder.

danimal
02-23-2005, 07:00 AM
Ahhhh, now I think we're (and by "we" I guess I mean me) getting somewhere. Thanks for the explanation. It is starting to make more sense. I will try it tomorrow. Grazie, grazie.

Dan Markham
http://www.ohdanny.net/blog