View Single Post
Old 01-31-2013, 10:33 PM   PM User | #5
mlseim
Master Coder

 
mlseim's Avatar
 
Join Date: Jun 2003
Location: Cottage Grove, Minnesota
Posts: 9,055
Thanks: 8
Thanked 1,032 Times in 1,023 Posts
mlseim has a spectacular aura aboutmlseim has a spectacular aura aboutmlseim has a spectacular aura about
I can't get your example to work.

This statement, you said:
"when a user clicks the link, a page is created, associated with the page's thumbnail"

That is what a database is for. A database (or catalog) of all images that can be searched. A PHP script then creates the "page" for the user ... it's not really a web page.

This forum you are using now has no web "pages". Every "page" you see is the result of a PHP script that renders it to your browser.

I have another thought ...
What if each photo (or picture) has a descriptive filename that could be used for a search.
Example of some filenames:
2010-02-04_House_Fire_Kills_4_Section_A3_Col_2-3.jpg
2008-11-30_Senate_Meeting_Turns_to_Riot_Section_C4_Col_5.jpg

You would not really need a database ... just a PHP script to search for any filenames that have the target search word, or similar words. But if the images and filenames already exist, you can hardly rename everything.

And there are no pages ... just a search box.

A database of course would be best (like MySQL). It has some powerful query features that would be better for a comprehensive system.
mlseim is offline   Reply With Quote