Photo Web Archive !!

images php coding issues or problems here.

Moderators: macek, egami, gesf

H22H
New php-forum User
New php-forum User
Posts: 16
Joined: Mon Apr 25, 2005 7:05 am

Photo Web Archive !!

Postby H22H » Wed Apr 27, 2005 2:41 am

Hi,
I want to code a php photo web archive , and preferred to write to you the way how I'll build up the archive ..

1. The picture must be uploaded to the server using PHP page .
2. The PHP page do the following :
a. copy the original image to a special derectory , e.g. : Images
b. Create a Thumbnail for each picture and save it into a folder named : Thumbnail .
c. Read the data from the original image ( Title, Keyword, Description ) and save into a MySQL Database with the name of the image and the thumbnail .

After that I can build up the search engine that can search for the data in the database and show the image ...

Any suggestions ?
Any code that may help me ?
Any ideas ?

Thanks

User avatar
ruturajv
php-forum Super User
php-forum Super User
Posts: 1280
Joined: Sat Mar 22, 2003 9:42 am
Location: Mumbai, India
Contact:

Postby ruturajv » Sun May 01, 2005 7:41 pm

every thing seems to be right..
just one thing... why do you save the name of the thumbnail as well ?
just append / prepend the "th" or "thumb" string to the file and retrive it..
create a Full-text index if you want on the Description col if you want..!

H22H
New php-forum User
New php-forum User
Posts: 16
Joined: Mon Apr 25, 2005 7:05 am

Postby H22H » Sun May 01, 2005 11:20 pm

THANKS

drputo
New php-forum User
New php-forum User
Posts: 11
Joined: Tue Aug 30, 2005 3:29 pm

Postby drputo » Fri Sep 02, 2005 12:19 pm

H22H can you tell me how you get the file location into the database?

Thank you.!


Return to “PHP coding => Images”

Who is online

Users browsing this forum: No registered users and 1 guest