galleryMaker.xml
APPEARANCE DEFAULTS AND CSS DEFINITIONS
The next lines of code are located in the EDITABLE - APPEARANCE DEFAULTS AND CSS DEFINITIONS comment section of galleryMaker.xml. They define in XML format, the CSS styles that will be written to gallery.css. Gallery.css is the main CSS file that your web gallery will use. Basically, this is the section of the code where you can place whatever CSS styles you want to define. The styles must be written in the XML format, and must include the cssID element. This cssID is the CSS selector and can be either an ID Selector or Class selector. The easiest thing to do is copy a style that is already defined and modify it to fit your needs. Its simply a matter of converting any regular css styles into the format seen below.
There are some styles that should remain here and I have labeled them with <!– Do not remove –>. You may modify them, but just don’t remove them. These are NOT required by the Adobe Lightroom application, they are only required if you are just modifying the LightroomGalleries.com Template 1 for your own needs.
That’s all for the code we need to change within the EDITABLE - APPEARANCE DEFAULTS AND CSS DEFINITIONS comment section. Lets move on to the next section of code.
DEFINE THE DEFAULT IMAGE SIZES, COLUMNS, AND ROWS
The next lines of code are located in the EDITABLE - IMAGE DIMENSIONS, COLUMNS, ROWS, ID PLATE comment section.
The above lines of code define default values for the max image dimensions, in pixels. These are only default values, they are user changeable from the right panel of the web module. Change the value between the <largeImageSize> </largeImageSize> for the large images, and the value between the <thumbSize> </thumbSize> for the thumbnail images.
In the same block of code you need to set the default number of rows and columns in which the images should be displayed. These are also only default values and they are user changeable from the right panel of the web module. Change the value between the <numCols> </numCols> for the number of columns, and the value between the <numRows> </numRows> for the number of rows.
THATS ALL for galleryMaker.xml! We are FINALLY done with the galleryMaker.xml File! The remainder of the code in the file does not need any modification to it (unless you know what you are doing and want to change it). In the next tutorial we will go over the transformer.xslt file.








