|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
AT&T devCentral & BlackBerry(r) Webcast Series: BlackBerry and GPS -Build Location Awareness into your BlackBerry Applications, July 10th-1:00PM EST. Register Today!
|
|
#1
|
|||
|
|||
|
Image Gallery
Ok, I have a database that has 4 tables in it. I have a members table that lets members log-in and change there own information and upload 4 images to be displayed on there own page but right now the images have to be named the way they are named in the database...I want them to be able to name the images whatever they want. Second table is like an image gallery but I need images to be uploaded directly from the website and displayed by a title. For instance title = "The show" and then however many images they upload will show on the page. I am just learning PHP and have been reading alot of info but I am not understanding GD Library if anyone knows a tutorial (I tried the one in this site and is not quite what I want)that would be great.
|
|
#2
|
|||
|
|||
|
RE: Image Gallery
If you are just uploading images and displaying them to a page, I dont think you need to make use of the GD library. There are certain attributes that you can use to change the name of a file to the one you want before it is placed on the server. If I am understanding you correctly, you will be:
1)selecting images 4 at a time off of the users computer. 2)renaming them 3) uploading them to the server 4) posting an entry in the database. For this alls you need is a file upload script and a readily updatable database. The GD library only comes into play when you are creating images, resizing them, etc etc... If you don't have a script that will handle file uploads, I would be happy to post a link to one tht I wrote, very very basic, and easily modifiable. Just let me know. |
|
#3
|
|||
|
|||
|
RE: Image Gallery
Heh, Ive been working on a ftp upload script lately that uploads images and then inserts the info into a database to be displayed on a member page... only thing is it is being uploaded but it wont query the sql because it thinks that it hasnt been uploaded... when i finish it you can have it
|
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Programming Theory > Image Gallery |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|