Solved

Use Dreamweaver Developers toolbox to Create a Image Gallery

Posted on 2008-06-19
5
729 Views
Last Modified: 2008-06-21
Hello
I wish to create a dyamic image gallery in dreamweaver using php mysql.
My goal is to be able to fill in a form in my admin section so I can upload and update the images on my gallery.

The problem is I am unsure how to set up the page so I can upload and dynamically change the images on my gallery. Hwoever I know how to set up and connect to a mysql database.

Thanks Guys

Kevin
I have just acquired dreamweaver's developer toolbox but I cannot use it to achieve what I require yet

This
0
Comment
Question by:kevinb4940
  • 3
  • 2
5 Comments
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 21825236
Hi kevinb4940,

This is a little bit vague.

The DDT provides all the behaviors you need to manage this (upload image, update tables, etc.) so if you could be a little more specific, we can give you a better answer.

Right now, it sounds like you need to read the help file for the Toolkit to understand what it can and cannot do for you.
0
 

Author Comment

by:kevinb4940
ID: 21825474
Sorry, I could have phrased the question a lot better.

Ok I will try to break it down a bit better
1) I have a website with a thumnail gallery. When I click one of the thumbnail images a large image is  displayed. There are 12 thumbnail images.
(example of gallery at http://www.studio10photography.co.uk/gallery.php)

2) I have a mysql database with 12 fileds named image_a to Image_l  (12 images in total)

3) The database is connected to the website with the image gallery

4) I want to create a form so I can upload new images to the database which will replace the existing images on the gallery page. (Basically, I would need 12 fields in the form with a browse for file button and submit button.)
for example: image 1 (form field | browse for file button | upload Button)

I hope this is clearer

Thanks Kevin
0
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
ID: 21828151
Kevin,

I haven't forgotten you, I'm just getting slammed with RL issues.  I'll pick this up again tomorrow night or the weekend.

The short version:

2) You should have a mysql table with just two columns: a primary key and the file name, not one row with 12 images.

4) Once you change #2 around, you can use repeat regions to both display images and easily update things.  It's a little trickier with one row, 12 columns.
0
 

Author Comment

by:kevinb4940
ID: 21829046
Thanks Jason

I am trying to get my head around he concept and I believe I am getting there. I would really appreciate you explaining the full concept to me when you get time please

Thanks

Kevin
0
 

Author Comment

by:kevinb4940
ID: 21837398
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Free website editor 10 560
Dreamweaver not "Putting" files to server 15 613
Wrapping 2 Divs in a Container 8 566
Create recordset using Dreamweaver PHP and MS SQL 2008 4 552
Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question