Solved

Use Dreamweaver Developers toolbox to Create a Image Gallery

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

733 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