Image properties..

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
bothman231
Forum Newbie
Posts: 2
Joined: Thu Jun 05, 2003 2:59 pm

Image properties..

Post by bothman231 »

you can store image properties along with JPG images in windows (such as title, comments, author etc)...I am presuming these properties are stored somewhere other than part of the JPG? ....If not my question is how in PHP can you extract such properties?

Thanks
S
JPlush76
Forum Regular
Posts: 819
Joined: Thu Aug 01, 2002 5:42 pm
Location: Los Angeles, CA
Contact:

Post by JPlush76 »

well you can use the getimagesize() function to get the parameters of the image itself and you'd have to store the other info in a database attached to that image by the image id/name
bothman231
Forum Newbie
Posts: 2
Joined: Thu Jun 05, 2003 2:59 pm

OK

Post by bothman231 »

Ok, thanks thats what i thought...I ended up storing the image desc in a text file with the same name and pulling it in that way.
Thanks
S
Post Reply