Adobe Flex Authors: Matthew Lobas, PR.com Newswire, Shelly Palmer, Kevin Benedict

Related Topics: Adobe Flex

Adobe Flex: Article

How to Develop Photo Galleries Using Dreamweaver

Sharing photos

Everyone is toting a digital camera these days it seems and they have photos to share with you. I'm sure you're not one of those who want to bore family and friends with your gazillion pictures of your dog/cat/snake. Even if you are, you can now do it with some pizzazz and it's easier than you may think. You could send the photos via email but then they'd take forever to arrive and your family probably doesn't know how to open them anyway. So the best solution is a spiffy new photo gallery.

Photo galleries aren't just for displaying personal pictures but they are widespread in the business world as well. The obvious use is for photographers. But there are a lot of less obvious uses as well, such as a portfolio of products, designs, sketches etc. I've built the Flash version to display photos of office staff and to display products. They can even be used in online catalogs. The more you use your imagination, the more uses you'll come up with.

There are so many different solutions to display your images. Some involve a database and others use Flash. Most are quite difficult to build by the average user and require some programming skills and definitely code editing skills. A popular method is to have thumbnails that when clicked display larger images on the same page. This involves a lot of show and hide layers in Dreamweaver and is a bear to edit. An inexpensive alternative I've found to this is an extension sold at DMXzone.com called "Flash Album Generator". It's the easiest to build and edit that I've come across so far.

The projects we are going to build today are all free and are very easy to use and build. These tools are great when you need to build or design a photo gallery in a hurry or on a budget.

Have you seen galleries that take forever to load? How about the ones that the image displays one strip at a time? These are photos that beginners have posted without resizing and worse yet, without optimizing. The tools you'll be using today will resize and optimize-to a degree. It's still best to process your images using Fireworks before building your gallery. A link is provided in the projects for doing batch processes in Fireworks.

In the past year I've had more requests to build photo galleries then ever before and as prices continue to drop and the cameras get smaller and easier to use, the demand will only get higher. If you haven't built a gallery yet, then the time is now. Roll up your sleeves and let's have some fun.

To begin these projects you'll need some photos-go figure.

Build a quick and easy photo gallery
Sceen1: Page setup
Open a new page and save it. Be sure to add your page title now. The Web Photo Album that ships with Dreamweaver has no design templates. But this is a fine alternative if you want to place the gallery into your own designs. Select Commands|Create Web Photo Album

Screen2: Fill in the dialog box
Everything is right here in the same dialog box. Give it a title, subtitle if desired. Navigate to your photos folder and a destination folder. Select the size for the thumbnails and if you want the file names to show. Select the image quality and scale the images if needed. Scale large images and click OK.

Screen3: Batch Process in Fireworks
The thumbnail resizing is actually done with a batch process in Fireworks. If you scaled the large images down at all, then they will also be batch processed to the percentage of the scale. When the batch is done, return to Dreamweaver and click on OK to the Album has been created successfully dialog.

Screen4: The photo album
Press F12 to preview in your default browser. Notice the image names? If you are going to show file names then you'll want to either rename the files or rename in Dreamweaver. Click on any of the thumbnails for a larger view. Navigation forward and back is also provided automatically.

Boxout (mini 3 step): Editing the album
You can dramatically change this album very easily by editing the tables and images. You may want to move the taller images together or change the placement of the photos. It's nicer if you put like images together. If you are using titles, change them and alter the font properties.

The first thing we will do is change the header area.

Select the top table and make the size 580 pixels wide, change the rows to 1 and name it "header". Delete the title. In the Property inspector click on "bg Image" and browse to the background image (on the CD) to insert it. Add an embedded style for the table with a height of 82.

Adjusting the content area to match the size of the header table.

Now select the lower table and make it 580 pixels wide (assuming you used 100px wide thumbnails and 5 columns). The idea is to make the top and lower table the same width.

Change the background color of the content table

With the larger table selected, click in the bk color box and use the dropper to sample a purple color from the flowers. Click your cursor between the 2 tables and delete the extra space. Now preview and see the big difference with very little effort.

Time it takes: 10 minutes Requirements: Dreamweaver
Downloading and installing a Dreamweaver extension

Screen5: Register at Macromedia.com
From the Help menu, select Dreamweaver exchange. Once there you'll need to create a login and password if this is your first time here. Don't worry, it's free. By registering with Macromedia, you'll also get cool updates and notices when new content has been added to the Developer center.

Screen6: Go to the Dreamweaver Exchange
Once logged in you'll see a Category menu top left. In the right column you can search by highest rated, newest or most downloaded extensions. Note all the availability, download, rating and product information of each extension. At the top right, click on the Search Exchanges link.

Screen7: Find a specific extension type
Type in "photo album", select Dreamweaver exchange and click on Search. Check out some of the extensions, some are very good. Scroll down to the Web Photo Album 2.2 for Dreamweaver MX and 2004 (by Macromedia). Click on the name for more information. Click the Download button to get the extension.

Screen8: Install an extension
Now that you have the extension, you'll need to install it. I keep all Dreamweaver extensions in the same folder using subfolders. Locate the WebPhotoAlbum226.mxp file you just downloaded and double-click on it. Accept all the screens and your extension will be installed automatically. If Dreamweaver is open, you'll need to close it and re-open it.

Screen9: Extension Manager
Let's take a quick look at the Extension Manager. You can either open it from Programs|Macromedia|Extension Manager or from Dreamweaver. In Dreamweaver select Commands|Manage Extensions. You can click on installed items to turn them off or you could install from here. Note that the other Macromedia application extensions are all controlled from here.

Screen10: Define a site
You'll need to define a site or open the one you are putting the photo gallery into. Select Site|Manage Sites|Add New|Site. Name it, navigate to the sites folder and setup remote information to upload your files. The step by step instructions for defining a site can be found in last months article or from the Dreamweaver Help files.

Time it takes: 20 minutes Requirements: Fireworks 8, Dreamweaver
Build a Photo Gallery with a Dreamweaver Extension

Screen 11: No page needed
With your defined site open, select Commands|Web Photo Album 2.2. The dialog window that opens gives you 2 different layout options. The first one is like the one we just built so select the "Create a Photo Album that includes only navigation pages" option. Click on Next.

Screen12: Choosing a design
Select "Create Page from Template" and check out all the options. I'm selecting Floral Yellow. You can even select to go to the Exchange for more templates. Click Next. Click Add Folder and navigate to your photos folder. Select and remove any images you don't want. Click Next

Screen13: Finishing the album build
Browse to the destination folder, give it a title and select the navigation style you want. I'm going to scale to 30% since they are large images. You can choose to add captions or not. I'm not going to. Click Next then Finish. The images will again process in Fireworks. Click OK, isn't that a nice gallery?

Try another variation. Repeat only this time select the first option with the thumbnail page. I used the green floral and changed the navigation to no loop. Click on any image to see the larger view and the caption which was added in Fireworks. Each image as it was processed prompted for a caption.

Screen15: Check the image size and resolution
I recommend if you use either of these two extensions that you batch process the larger images yourself using Fireworks. The extensions resize the images but do not change the resolution. Camera resolution may be 300 dpi which is far too much for the web.

Screen16a: Batch Processing in Fireworks
Open File|Batch Process and navigate to your folder of images. You can then add some or all of the images and click Next. Follow the instructions throughout the wizard. You can size, optimize and even apply commands to an entire folder of images.

More info: If you are new to batch processing, I have a movie tutorial here: www.joycejevans.com/tutorials/Fireworks/FWMX/Batch/batch.html

That will demonstrate step by step how to do it.

More Stories By Joyce Evans

Joyce J. Evans is a training veteran with over 10 years of experience in educational teaching, tutuorial development, and Web design. She has presented at conferences such as Macromedia MAX 2003 and TODCON. Joyce has authored books including Macromedia Studio MX 2004 Bible, Dreamweaver MX 2004 Complete Course, and others. Joyce is a Team Macromedia volunteer and her work is also featured in the Macromedia Design/Developer center. Her Web site is www.JoyceJEvans.com.

Comments (1) View Comments

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.

Most Recent Comments
Web Developer's & Designer's Journal 08/15/06 03:23:05 PM EDT

Everyone is toting a digital camera these days it seems and they have photos to share with you. I'm sure you're not one of those who want to bore family and friends with your gazillion pictures of your dog/cat/snake. Even if you are, you can now do it with some pizzazz and it's easier than you may think. You could send the photos via email but then they'd take forever to arrive and your family probably doesn't know how to open them anyway. So the best solution is a spiffy new photo gallery.

@ThingsExpo Stories
In his session at 21st Cloud Expo, Carl J. Levine, Senior Technical Evangelist for NS1, will objectively discuss how DNS is used to solve Digital Transformation challenges in large SaaS applications, CDNs, AdTech platforms, and other demanding use cases. Carl J. Levine is the Senior Technical Evangelist for NS1. A veteran of the Internet Infrastructure space, he has over a decade of experience with startups, networking protocols and Internet infrastructure, combined with the unique ability to it...
"There's plenty of bandwidth out there but it's never in the right place. So what Cedexis does is uses data to work out the best pathways to get data from the origin to the person who wants to get it," explained Simon Jones, Evangelist and Head of Marketing at Cedexis, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
"Cloud Academy is an enterprise training platform for the cloud, specifically public clouds. We offer guided learning experiences on AWS, Azure, Google Cloud and all the surrounding methodologies and technologies that you need to know and your teams need to know in order to leverage the full benefits of the cloud," explained Alex Brower, VP of Marketing at Cloud Academy, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clar...
Large industrial manufacturing organizations are adopting the agile principles of cloud software companies. The industrial manufacturing development process has not scaled over time. Now that design CAD teams are geographically distributed, centralizing their work is key. With large multi-gigabyte projects, outdated tools have stifled industrial team agility, time-to-market milestones, and impacted P&L stakeholders.
Gemini is Yahoo’s native and search advertising platform. To ensure the quality of a complex distributed system that spans multiple products and components and across various desktop websites and mobile app and web experiences – both Yahoo owned and operated and third-party syndication (supply), with complex interaction with more than a billion users and numerous advertisers globally (demand) – it becomes imperative to automate a set of end-to-end tests 24x7 to detect bugs and regression. In th...
"Akvelon is a software development company and we also provide consultancy services to folks who are looking to scale or accelerate their engineering roadmaps," explained Jeremiah Mothersell, Marketing Manager at Akvelon, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
"MobiDev is a software development company and we do complex, custom software development for everybody from entrepreneurs to large enterprises," explained Alan Winters, U.S. Head of Business Development at MobiDev, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
SYS-CON Events announced today that CrowdReviews.com has been named “Media Sponsor” of SYS-CON's 22nd International Cloud Expo, which will take place on June 5–7, 2018, at the Javits Center in New York City, NY. CrowdReviews.com is a transparent online platform for determining which products and services are the best based on the opinion of the crowd. The crowd consists of Internet users that have experienced products and services first-hand and have an interest in letting other potential buye...
"IBM is really all in on blockchain. We take a look at sort of the history of blockchain ledger technologies. It started out with bitcoin, Ethereum, and IBM evaluated these particular blockchain technologies and found they were anonymous and permissionless and that many companies were looking for permissioned blockchain," stated René Bostic, Technical VP of the IBM Cloud Unit in North America, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Conventi...
SYS-CON Events announced today that Telecom Reseller has been named “Media Sponsor” of SYS-CON's 22nd International Cloud Expo, which will take place on June 5-7, 2018, at the Javits Center in New York, NY. Telecom Reseller reports on Unified Communications, UCaaS, BPaaS for enterprise and SMBs. They report extensively on both customer premises based solutions such as IP-PBX as well as cloud based and hosted platforms.
"Space Monkey by Vivent Smart Home is a product that is a distributed cloud-based edge storage network. Vivent Smart Home, our parent company, is a smart home provider that places a lot of hard drives across homes in North America," explained JT Olds, Director of Engineering, and Brandon Crowfeather, Product Manager, at Vivint Smart Home, in this SYS-CON.tv interview at @ThingsExpo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
Coca-Cola’s Google powered digital signage system lays the groundwork for a more valuable connection between Coke and its customers. Digital signs pair software with high-resolution displays so that a message can be changed instantly based on what the operator wants to communicate or sell. In their Day 3 Keynote at 21st Cloud Expo, Greg Chambers, Global Group Director, Digital Innovation, Coca-Cola, and Vidya Nagarajan, a Senior Product Manager at Google, discussed how from store operations and ...
It is of utmost importance for the future success of WebRTC to ensure that interoperability is operational between web browsers and any WebRTC-compliant client. To be guaranteed as operational and effective, interoperability must be tested extensively by establishing WebRTC data and media connections between different web browsers running on different devices and operating systems. In his session at WebRTC Summit at @ThingsExpo, Dr. Alex Gouaillard, CEO and Founder of CoSMo Software, presented ...
WebRTC is great technology to build your own communication tools. It will be even more exciting experience it with advanced devices, such as a 360 Camera, 360 microphone, and a depth sensor camera. In his session at @ThingsExpo, Masashi Ganeko, a manager at INFOCOM Corporation, introduced two experimental projects from his team and what they learned from them. "Shotoku Tamago" uses the robot audition software HARK to track speakers in 360 video of a remote party. "Virtual Teleport" uses a multip...
A strange thing is happening along the way to the Internet of Things, namely far too many devices to work with and manage. It has become clear that we'll need much higher efficiency user experiences that can allow us to more easily and scalably work with the thousands of devices that will soon be in each of our lives. Enter the conversational interface revolution, combining bots we can literally talk with, gesture to, and even direct with our thoughts, with embedded artificial intelligence, whic...
SYS-CON Events announced today that Evatronix will exhibit at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Evatronix SA offers comprehensive solutions in the design and implementation of electronic systems, in CAD / CAM deployment, and also is a designer and manufacturer of advanced 3D scanners for professional applications.
Leading companies, from the Global Fortune 500 to the smallest companies, are adopting hybrid cloud as the path to business advantage. Hybrid cloud depends on cloud services and on-premises infrastructure working in unison. Successful implementations require new levels of data mobility, enabled by an automated and seamless flow across on-premises and cloud resources. In his general session at 21st Cloud Expo, Greg Tevis, an IBM Storage Software Technical Strategist and Customer Solution Architec...
To get the most out of their data, successful companies are not focusing on queries and data lakes, they are actively integrating analytics into their operations with a data-first application development approach. Real-time adjustments to improve revenues, reduce costs, or mitigate risk rely on applications that minimize latency on a variety of data sources. In his session at @BigDataExpo, Jack Norris, Senior Vice President, Data and Applications at MapR Technologies, reviewed best practices to ...
An increasing number of companies are creating products that combine data with analytical capabilities. Running interactive queries on Big Data requires complex architectures to store and query data effectively, typically involving data streams, an choosing efficient file format/database and multiple independent systems that are tied together through custom-engineered pipelines. In his session at @BigDataExpo at @ThingsExpo, Tomer Levi, a senior software engineer at Intel’s Advanced Analytics gr...
When talking IoT we often focus on the devices, the sensors, the hardware itself. The new smart appliances, the new smart or self-driving cars (which are amalgamations of many ‘things’). When we are looking at the world of IoT, we should take a step back, look at the big picture. What value are these devices providing? IoT is not about the devices, it’s about the data consumed and generated. The devices are tools, mechanisms, conduits. In his session at Internet of Things at Cloud Expo | DXWor...