Solved

Use Dreamweaver Developers toolbox to Create a Image Gallery

Posted on 2008-06-19
5
718 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

For those who don't know, Adobe Dreamweaver is a popular commercial web editor that enables you to design, build and manage complex websites. The editor is a WYSIWYG (What You See Is What You Get) web editor, which means that you can create your web…
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

930 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now