Results 1 to 2 of 2

Thread: Search Function for Images..poss ITPC

  1. #1
    Join Date
    Aug 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Search Function for Images..poss ITPC

    Hi
    I am looking for a search function for my website to display certain images.

    For example if I take a photos of race cars who have number on say 1-99.
    When editing the images I tag all the images with IPTC data for each car number.
    I then want the user to be able to search for example on this ITPC date (ie car number), the resulting page should then display only the photos of the car with the correct IPTC search result. A cart function for various print sizes would be useful too.

    Is this possible?
    Many thanks

    Ian
    Last edited by manc; 08-13-2008 at 10:52 AM.

  2. #2
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    It's possible, but certainly not easy. PHP is able to parse IPTC data. So, accessing the data isn't difficult. The problems you might have is the search function itself.

    The workflow that I might suggest is to have the IPTC data parsed when you upload an image. The keywords could be saved to a database at this point. Then, you can use any old PHP/MySQL search script you can Google up.

    See the PHP manual for more info to iptcparse.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •