Solved

Use Dreamweaver Developers toolbox to Create a Image Gallery

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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
web development software 2 438
HELP.. background images in eblasting 25 380
CSS HTML Text Alignment 13 416
drop down button disappears 12 97
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…
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…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

759 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

19 Experts available now in Live!

Get 1:1 Help Now