Go Back   CodingForums.com > :: Client side development > General web building

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-10-2002, 05:24 PM   PM User | #1
scgrahamfoto
New to the CF scene

 
Join Date: Jul 2002
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
scgrahamfoto is an unknown quantity at this point
Question Internal Search engine for image files


I'm looking to design a searchable webpage for my stock photography. I've found resources on searching for text but none on linking searches with image files. I understand that I'm going to have to keyword the images (How's this done?). I also am not clear on what to use...is it html, or a script or what? Any suggestions or links would be helpful.

Thank you.
scgrahamfoto is offline   Reply With Quote
Old 07-10-2002, 06:55 PM   PM User | #2
allida77
Regular Coder

 
Join Date: Jun 2002
Location: Cincinnati, OH
Posts: 545
Thanks: 0
Thanked 0 Times in 0 Posts
allida77 is an unknown quantity at this point
I suggest to use a database to store your images(paths) and their description. Then just run your search queries against the db. What you are wanting to do would not be that complicated. If you do not have access to a db then you could use a text file. The code would be a little more complex though.
allida77 is offline   Reply With Quote
Old 07-11-2002, 07:56 AM   PM User | #3
ronaldb66
Senior Coder

 
Join Date: Jun 2002
Location: The Netherlands, Baarn, Ut.
Posts: 4,253
Thanks: 0
Thanked 0 Times in 0 Posts
ronaldb66 is an unknown quantity at this point
What allida77 suggested is the most appropriate solution if it concerns a large number of photos (several dozens or more) and uses some form of serverside scripting, but if you don't have that many a client side solution might work (i.e. JavaScript); maybe JavaScript Kit has something useful.
I'm pretty sure just HTML won't cut this.
__________________
Regards,
Ronald.
ronaldvanderwijden.com
ronaldb66 is offline   Reply With Quote
Old 07-11-2002, 07:25 PM   PM User | #4
redhead
Regular Coder

 
Join Date: Jun 2002
Location: United Kingdom Confused: Often
Posts: 859
Thanks: 0
Thanked 0 Times in 0 Posts
redhead is an unknown quantity at this point
I think there is one (somewhere) that uses JavaScript to search through the alt attributes of images on a page... but i've looked for it and i'm not too sure where it is

happy coding
__________________
redhead
redhead is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:28 PM.


Advertisement
Log in to turn off these ads.