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:
  #1  
Old January 6th, 2004, 05: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: 25
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, 05: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: 5
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, 04: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: 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

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




 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

Request Your Free Technology Downloads!
 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

Request Your Free Technology Downloads!
 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

Request Your Free Technology Downloads!
 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

Request Your Free Technology Downloads!
 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

Request Your Free Technology Downloads!
 

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




© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 3 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek