PDA

View Full Version : EXIF under Windows


petero
29th of November 2003 (Sat), 07:04
I have EXIF extension installed but EE does not read the data. Test does reurn any errors, but blank page instead. IPTC works fine. This is under Windows 2000. I use current version of PHP.

Does anybody know if there is a trick or specific version of PHP to use to make EXIF work under Windows?

Regards,

Pekka
29th of November 2003 (Sat), 07:58
In Windows, you install PHP modules by copying php_exif.dll to "/extensions" directory (in your PHP program folder). Then you need to open your php.ini (in Windows directory) and uncomment line

;extension=php_exif.dll

to

extension=php_exif.dll

Save changes and restart the server application.

PHP documentation says about EXIF reader: "Its functionality and behaviour has changed in PHP 4.2. Earlier versions are very unstable."

petero
30th of November 2003 (Sun), 02:39
Pekka,

you sure know your PHP. It worked like a charm. One curious thing you might be interested in: I am a Nikon user (sorry about it) and I noticed that the shutter speed is not showing correctly in Photo Editor. So I uploaded one of my images to the relevant directory, renamed it source.jpg and ran your EXIF test on it. It shows shutter speed as 10/5000. This is mathematically as good as 1/500 (which was a true exposure time), however it is showing as 0 in Photo Editor. Perhaps something to tweak for final release,

Cheers,