A few years back the studio designed and developed the HTML and Flash Web Photo Galleries (WPG) that shipped within Adobe Photoshop CS2, CS3 and are optionally available for CS4. Despite the development constraints of the older WPG export engine, the galleries did (and still do) get a fair amount of use. I still see them in use, and get a few emails per week asking for customization and/or feature enhancement.
The Flash based Web Photo Galleries relied upon the initial release of a custom swf detection script called flashobject.js. Six years later the flashobject script has grown into an industry standard open source easy-to-use and standards-friendly method to embed Flash content, now named swfobject.
With the release of Adobe Flash Player 10, the earlier flash detection script packaged with the Web Photo Galleries can no longer accurately detect for the presence of the flash player on client browsers, as a result the galleries appear to be broken. The purpose of this update is to aid WPG authors in updating their published galleries to the latest version of swfobject, and replace the gallery templates within PhotoShop; enabling new galleries to be created with the properly functioning detection script.
Updating Generated Galleries
- Locate the directory containing your Flash Web Photo gallery.
- Remove the file ‘flashobject.js’ from the gallery directory.
- Copy the file ‘swfobject.js’ (located in the ‘Update Existing Gallery Files’ directory) into your Flash Web Photo gallery.
- Copy the file ‘expressInstall.swf’ (located in the ‘Update Existing Gallery Files’ directory) into your Flash Web Photo gallery.
- Rename the ‘index.html’ file located in your Flash Web Photo gallery to something like ‘index_old.html’ (We will need to copy some of the info out of this file before we can discard it).
- Copy the file ‘index.html’ (located in the ‘Update Existing Gallery Files’ directory) into your Flash Web Photo gallery.
- Open the newly copied ‘index.html’ and the renamed ‘index_old.html’ files in a text editor or html editor.
- Update the title of your gallery (line 4) of ‘index.html’ with the title that was within ‘index_old.html’ (should be on/around line 5).
- Update the background-color style of the body (line 21) of ‘index.html’ with the background-color style that was within ‘index_old.html’ (should be on/around line 29).
- Test your gallery in a web browser, making sure to clear your browser cache and load the ‘index.html’ file.
- Delete the renamed ‘index_old.html’ file, you don’t need it anymore.
- Consider updating the html meta tags (lines 4 through 10) of ‘index.html’ with your information and information about your Flash Web Photo gallery.
Updating Photoshop Flash Web Photo Gallery Templates
- Locate the ‘Web Photo Gallery’ directory on your computer. It should be within the ‘Presets’ directory, located within your Adobe Photoshop CS2 or CS3 directory, where your Applications are stored.
- Remove the ‘Flash – Gallery 1′, ‘Flash – Gallery 2′ and optionally ‘Flash – Gallery 3′ directories and replace them with the corresponding directories (located in the ‘Updated Flash WPG Templates’ directory).
- Restart Photoshop (if it was running).
You should now be able to create new Flash Web Photo Galleries (with updated Flash Player detection) from within Photoshop.
- Update Existing Gallery Files
- Updated Flash WPG Templates
- WPG Flash Detect Upgrade ReadMe.txt
I like to think that we did a solid job back then with a particularly tricky export engine. The source for the galleries has always been available here. Fortunately (for all of us) Adobe has been working on a updated modern photo gallery engine/solution: Adobe Media Gallery (AMG) thats the foundation for online photo galleries within Bridge CS4 and Lightroom