Page 1 of 1

Displaying Picture Properties

Posted: Wed Dec 17, 2003 8:57 am
by Toot4fun
Here's what I'm trying to accomplish.

I have a page on my site that displays the pictures contained within a certain folder (chosen from a dropdown). Since this page just loops through the pictures and displays them, I pretty much only have the filename to use as a description. However, for archiving purposes, the file names are very simple (christmas01.jpg, christmas02.jpg, etc.).

In Windows, when you right click on a picture and go to Properties, there is a Summary tab which contains Title, Subject, Author, Comments, etc. Is it possible to access this information from a PHP page and print this information out onto my page?

Posted: Thu Dec 18, 2003 4:56 am
by igoy
Windows uses a DLL, to extract that info from picture (in case of Windows XP, shimgw.dll & shimeng.dll)

you can use GD libraries to extract such info from image.