The Template Files
GALLERYMAKER.XML
The first file is the galleryMaker.xml file which defines the appearance and options located in the right panel of the Lightroom Web Module. It defines default values for colors, image quality, number of columns and rows to display, and it also includes css styles which can be used in your template.
The galleryMaker.xml file contains alot of information about your template, and serves 4 basic purposes:
- Defines a name and description for your template
- Defines default values for many of the user changeable options in the right panel of Web Module
- Defines many css styles for appearance to be used in the HTML that is generated.
- Defines which user changeable values, options, colors, and text input options will be available for the user in the right panel of the Web Module.
There are only a handful of things you need to change in this file. Many of the items are standard items that can be used across many templates and require no changes or modifications.
TRANSFORMER.XML
The other file is the transformer.xslt file. This file that converts an intermediate XML of the web gallery generated by Lightroom into the resulting HTML, CSS, and other files output by Lightroom. Most importantly for our purposes, this file is where all your html code will go for the design of your template. If you want to use css, you will define those in the galleryMaker.xml file or you can include them in and external css file and include that file into your pages.
You will be doing alot of modifications to this file as it is the file which will contain all your HTML code for the final web gallery files.
GALLERY.XML
This file is used to store path information about any additional files you want to in your template. This includes any .css files, images, html pages, and things like that.
In the next section we will start off by going through the galleryMaker.xml file.








