Use Dreamweaver Developers toolbox to Create a Image Gallery

Posted on 2008-06-19
Medium Priority
Last Modified: 2008-06-21
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

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

Question by:kevinb4940
  • 3
  • 2
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.

Author Comment

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
LVL 70

Accepted Solution

Jason C. Levine earned 2000 total points
ID: 21828151

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.

Author Comment

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



Featured Post

Train for your Pen Testing Engineer Certification

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

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…
The video provides a quick and easy steps to migrate MBOX file to well known Outlook PST and Office 365. Besides this, it also supports and migrates more than 20 email clients of MBOX which include AppleMail, Opera, Thunderbird and SeaMonkey effortl…
The video will let you know the exact process to import OST/PST files to the cloud based Office 365 mailboxes. Using Kernel Import PST to Office 365 tool, one can quickly import numerous OST/PST files to Office 365. Besides this, the tool also comes…

624 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