tagging

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

Post Reply
abbey4biz
Forum Commoner
Posts: 32
Joined: Wed Nov 23, 2011 12:25 pm

tagging

Post by abbey4biz »

please can somebody tell me how i can tag every image on my site so it can be loaded when searched
User avatar
social_experiment
DevNet Master
Posts: 2793
Joined: Sun Feb 15, 2009 11:08 am
Location: .za

Re: tagging

Post by social_experiment »

http://www.php.net/manual/en/function.e ... d-data.php
Look at Exif functions to access meta data from the image

The question is a bit unclear; i read two options in there: 1. The image already has tags attached to it, you could use a function like exif_read_data() and place the tags in the database or 2. When the image is uploaded you have tags in the database related to the image; these tags are entered into the database and is not retrieved by using a function like exif_read_data()
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering
Post Reply