Programming Theory
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsOther TechnologiesProgramming Theory

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
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  
Old January 6th, 2004, 04:10 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
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.

Reply With Quote
  #2  
Old January 13th, 2004, 04:14 AM
nawlej nawlej is offline
Contributing User
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: Dallas, Tx. USA
Posts: 2,008 nawlej User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 h 7 m 51 sec
Reputation Power: 4
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.

Reply With Quote
  #3  
Old January 23rd, 2004, 03:30 AM
SnowStorm SnowStorm is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Posts: 374 SnowStorm User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
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

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesProgramming Theory > Image Gallery


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway