Modifying the Lightroom Flash Gallery for Windows Servers.
A recurring question that I get is how to get the Lightroom Flash Gallery to work with Windows Servers. By default, Lightroom exports web images into a folder called “bin”. This folder as it turns out, causes problems with Windows Servers. To get around this you have 2 options: Modify the gallery, or copy it and modify it. The latter is the safest way.
First you need a copy of the gallery.
Mac. Control Click (or Right Click) on the Application file: Adobe Lightroom.app.
From the menu, choose ‘Show Package Content”.
A window will open with a folder called ‘Contents’. Open this and then open ‘Plugins’.
Control Click (or Right Click) on the file: Web.lrmodule.
From the menu, choose ‘Show Package Content”.
A window will open with a folder called ‘Contents’. Open this and then open ‘Resources’.
Finally open the folder ‘galleries’.
Inside is a file called ‘default_flash.lrwebengine’.
This is the file you need to copy.

XP: The default location for the file you need is C:\Program Files\Adobe\Adobe Photoshop Lightroom 2\shared\webengines.
Inside is a file called ‘default_flash.lrwebengine’.
This is the file you need to copy.

Vista: I don’t have Vista to check, but I think it’s also in a similar location inside the Lightroom Program folder.
The location this needs to be copied to is found with Lightroom open and going to the Presets tab of Lightroom Preferences (Edit>Preferences on PC, Lightroom>Preferences on Mac). From there click the ‘Show Lightroom Presets Folder” button. Inside the window that opens, create a folder called ‘Web Galleries” (no quotation marks), if it doesn’t already exist. Open this and copy’default_flash.lrwebengine’ into.
Open the default_flash.lrwebengine folder (you need to right/ctrl click on Mac and choose Show Package Contents). Inside are a number of files, but the one we need is called ‘galleryInfo.lrweb’.
In the version I’m looking at (V2.4 on Mac), lines 21 and 22 read:
title = LOC "$$$/WPG/Templates/Flash/Bluefire1=Lightroom Flash Gallery", id = "com.adobe.wpg.flash.bluefire1",
Change these lines (they may be different line numbers for you) to
title = LOC "$$$/WPG/Templates/Flash/Bluefire1=Lightroom Flash Gallery MOD", id = "com.adobe.wpg.flash.bluefire1mod",
Then after Line 45
[ "photoSizes.tracking" ] = false,
Add the following lines:
["photoSizes.large.directory"] = "large", ["photoSizes.small.directory"] = "small", ["photoSizes.medium.directory"] = "medium", ["photoSizes.thumb.directory"] = "thumb",

What we’ve done here is to give our copied gallery a new identifier for Lightroom, and a different name that will appear in the Engines panel of Web. The 4 new lines create new folders for the generated images for the gallery, and are not inside a ‘bin’ folder.
Save the file, and then restart Lightroom. A new gallery should appear in the Engines panel of web called ‘Lightroom Flash Gallery MOD’. Use this to generate your galleries. Please bear in mind any of the Flash Web Templates will call the default gallery, so make sure the Engines panel reads Lightroom Flash Gallery MOD if you apply a Template.
And now for the fun bit:
Disclaimer: This information is provided ‘as is’ and may or not work for you. You agree to hold Sean McCormack/Lightroom-blog.com harmless for any damages that may occur due to use of, or inability to use, this workaround. Using this information is entirely at your own risk.
Can you fix the focus on a blurry photo after the fact?
The birth of Mirrorless Cameras
The Joy Of Winning A Photo Contest
Choosing your first dSLR camera
New York City can be beautiful!
Choosing the Right Light Stand
Photojojo iPhone Telephoto Lens review — AudioCast
My week with Q
How To Become A Successful Photographer
"When the Wind Stopped" — poem with 4 photos
Creating The New Family Portrait
Tips for Textures
Cast aways - saving those photographic memories
One Man Show: My 25 Years With Digital Photography
Studio, Flash, & Available Light — Three Books Reviewed
Portrait styling: dangerous pairings
Adobe Photoshop CS6 Product Managers Interview Audiocast
A gift of flowers: unfold your senses
On Set of "Love & Robots" the Film
No-Brainer Setup For A Digital Photo Frame Exhibit - Part 3











Planning “National Geographic” style photo travel
Wilderness Travel 1 Rainforests – Essential Gear
Backlighting Basics
What Moves You?
FIGURES IN MOTION: Decades of Evolving Personal Imagery in Photography, Part 7
Lomography Store, Austin, Texas — GALLERY
GALLERY — Up to $1,000 Reward for Cattle Rustlers
25% off on photography eBooks
eyePhone: The eBook for iPhone Photographers
Interview with Harold Davis — Closeup Maestro of Flowers & Water Drops
Interview with Steve Caplin — Photoshop Digital Artist, Commercial Illustrator, & Author
A Brief History Of Light & Photography: Part 3 of 3
A Brief History Of Light & Photography: Part 2 Of 3
Easy technique to select, edit and sequence keywords for web
How much should you charge for a photograph?



























Comments
I have this problem on windows environment. The instructions above only work in a MAC.What do Windows people do?Adobe seems struck dumb by this problem.
Gary, I did this in Windows XP and it works, so you'll have to give a little more detail as to why you say it's Mac only. Sean
Sean
While testing this on Windows, it worked fine but I noticed a little omission on line 21 – the word "Mod" in the value.
title = LOC "$$$/WPG/Templates/Flash/Bluefire1_Mod=Lightroom Flash Gallery (Mod)",
By the way, when did the Flash galleries go Lua? I hadn't looked for a while and thought they were still XML/XSLT.
John
The lines are shown as they exist and need to be changed, which is described in the text. 22 needs to have mod added to the id also.
Galleries have been lua since 1.3
Thanks Sean, it works great for me in Windows XP pro. Ed
I just applied this change on a Windows 7 64bit machine with Lightroom 64bit and it worked.
Thank-you so much for the tutorial!
Randy
Post new comment