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
Poor data quality and analytics drive down business value. In fact, Gartner estimated that the average financial impact of poor data quality on organizations is $9.7 million per year. But bad data is much more than a cost center. By eroding trust in information, analytics and the business decisions based on these, it is a serious impediment to digital transformation.
Digital Transformation: Preparing Cloud & IoT Security for the Age of Artificial Intelligence. As automation and artificial intelligence (AI) power solution development and delivery, many businesses need to build backend cloud capabilities. Well-poised organizations, marketing smart devices with AI and BlockChain capabilities prepare to refine compliance and regulatory capabilities in 2018. Volumes of health, financial, technical and privacy data, along with tightening compliance requirements by...
Andrew Keys is Co-Founder of ConsenSys Enterprise. He comes to ConsenSys Enterprise with capital markets, technology and entrepreneurial experience. Previously, he worked for UBS investment bank in equities analysis. Later, he was responsible for the creation and distribution of life settlement products to hedge funds and investment banks. After, he co-founded a revenue cycle management company where he learned about Bitcoin and eventually Ethereal. Andrew's role at ConsenSys Enterprise is a mul...
DXWordEXPO New York 2018, colocated with CloudEXPO New York 2018 will be held November 11-13, 2018, in New York City and will bring together Cloud Computing, FinTech and Blockchain, Digital Transformation, Big Data, Internet of Things, DevOps, AI, Machine Learning and WebRTC to one location.
DXWorldEXPO LLC announced today that "Miami Blockchain Event by FinTechEXPO" has announced that its Call for Papers is now open. The two-day event will present 20 top Blockchain experts. All speaking inquiries which covers the following information can be submitted by email to [email protected] Financial enterprises in New York City, London, Singapore, and other world financial capitals are embracing a new generation of smart, automated FinTech that eliminates many cumbersome, slow, and expe...
DXWorldEXPO | CloudEXPO are the world's most influential, independent events where Cloud Computing was coined and where technology buyers and vendors meet to experience and discuss the big picture of Digital Transformation and all of the strategies, tactics, and tools they need to realize their goals. Sponsors of DXWorldEXPO | CloudEXPO benefit from unmatched branding, profile building and lead generation opportunities.
The best way to leverage your Cloud Expo presence as a sponsor and exhibitor is to plan your news announcements around our events. The press covering Cloud Expo and @ThingsExpo will have access to these releases and will amplify your news announcements. More than two dozen Cloud companies either set deals at our shows or have announced their mergers and acquisitions at Cloud Expo. Product announcements during our show provide your company with the most reach through our targeted audiences.
DevOpsSummit New York 2018, colocated with CloudEXPO | DXWorldEXPO New York 2018 will be held November 11-13, 2018, in New York City. Digital Transformation (DX) is a major focus with the introduction of DXWorldEXPO within the program. Successful transformation requires a laser focus on being data-driven and on using all the tools available that enable transformation if they plan to survive over the long term. A total of 88% of Fortune 500 companies from a generation ago are now out of bus...
With 10 simultaneous tracks, keynotes, general sessions and targeted breakout classes, @CloudEXPO and DXWorldEXPO are two of the most important technology events of the year. Since its launch over eight years ago, @CloudEXPO and DXWorldEXPO have presented a rock star faculty as well as showcased hundreds of sponsors and exhibitors! In this blog post, we provide 7 tips on how, as part of our world-class faculty, you can deliver one of the most popular sessions at our events. But before reading...
Cloud Expo | DXWorld Expo have announced the conference tracks for Cloud Expo 2018. Cloud Expo will be held June 5-7, 2018, at the Javits Center in New York City, and November 6-8, 2018, at the Santa Clara Convention Center, Santa Clara, CA. Digital Transformation (DX) is a major focus with the introduction of DX Expo within the program. Successful transformation requires a laser focus on being data-driven and on using all the tools available that enable transformation if they plan to survive ov...
As IoT continues to increase momentum, so does the associated risk. Secure Device Lifecycle Management (DLM) is ranked as one of the most important technology areas of IoT. Driving this trend is the realization that secure support for IoT devices provides companies the ability to deliver high-quality, reliable, secure offerings faster, create new revenue streams, and reduce support costs, all while building a competitive advantage in their markets. In this session, we will use customer use cases...
DXWorldEXPO LLC announced today that ICOHOLDER named "Media Sponsor" of Miami Blockchain Event by FinTechEXPO. ICOHOLDER give you detailed information and help the community to invest in the trusty projects. Miami Blockchain Event by FinTechEXPO has opened its Call for Papers. The two-day event will present 20 top Blockchain experts. All speaking inquiries which covers the following information can be submitted by email to [email protected] Miami Blockchain Event by FinTechEXPO also offers s...
With tough new regulations coming to Europe on data privacy in May 2018, Calligo will explain why in reality the effect is global and transforms how you consider critical data. EU GDPR fundamentally rewrites the rules for cloud, Big Data and IoT. In his session at 21st Cloud Expo, Adam Ryan, Vice President and General Manager EMEA at Calligo, examined the regulations and provided insight on how it affects technology, challenges the established rules and will usher in new levels of diligence arou...
Dion Hinchcliffe is an internationally recognized digital expert, bestselling book author, frequent keynote speaker, analyst, futurist, and transformation expert based in Washington, DC. He is currently Chief Strategy Officer at the industry-leading digital strategy and online community solutions firm, 7Summits.
Digital Transformation and Disruption, Amazon Style - What You Can Learn. Chris Kocher is a co-founder of Grey Heron, a management and strategic marketing consulting firm. He has 25+ years in both strategic and hands-on operating experience helping executives and investors build revenues and shareholder value. He has consulted with over 130 companies on innovating with new business models, product strategies and monetization. Chris has held management positions at HP and Symantec in addition to ...
Cloud-enabled transformation has evolved from cost saving measure to business innovation strategy -- one that combines the cloud with cognitive capabilities to drive market disruption. Learn how you can achieve the insight and agility you need to gain a competitive advantage. Industry-acclaimed CTO and cloud expert, Shankar Kalyana presents. Only the most exceptional IBMers are appointed with the rare distinction of IBM Fellow, the highest technical honor in the company. Shankar has also receive...
Enterprises have taken advantage of IoT to achieve important revenue and cost advantages. What is less apparent is how incumbent enterprises operating at scale have, following success with IoT, built analytic, operations management and software development capabilities - ranging from autonomous vehicles to manageable robotics installations. They have embraced these capabilities as if they were Silicon Valley startups.
Internet-of-Things discussions can end up either going down the consumer gadget rabbit hole or focused on the sort of data logging that industrial manufacturers have been doing forever. However, in fact, companies today are already using IoT data both to optimize their operational technology and to improve the experience of customer interactions in novel ways. In his session at @ThingsExpo, Gordon Haff, Red Hat Technology Evangelist, shared examples from a wide range of industries – including en...
The standardization of container runtimes and images has sparked the creation of an almost overwhelming number of new open source projects that build on and otherwise work with these specifications. Of course, there's Kubernetes, which orchestrates and manages collections of containers. It was one of the first and best-known examples of projects that make containers truly useful for production use. However, more recently, the container ecosystem has truly exploded. A service mesh like Istio addr...
Rodrigo Coutinho is part of OutSystems' founders' team and currently the Head of Product Design. He provides a cross-functional role where he supports Product Management in defining the positioning and direction of the Agile Platform, while at the same time promoting model-based development and new techniques to deliver applications in the cloud.