This is an old revision of the document!
In general, adding galleries to an auto index is a simple matter of uploading your gallery to the appropriate location on your server. After that, it will appear automatically in your index. Below, we look closely at how to add galleries to installations of CE4 Auto Index and CE4 Pages.
In CE4 Auto Index, image galleries are located within the auto index folder itself. This folder will bear whatever name you assign it when exporting.
Image galleries should exist as individual folders within this folder. In the below image, the highlighted folders are image galleries which have been copied into the auto index folder.
In CE4 Pages, the auto index page lists image galleries which are located within the
/galleries/ folder. The
/galleries/ folder is created when CE4 Pages is exported from Lightroom.
Image galleries should exist each as individual folders within the
/galleries/ folder, as pictured below.
For those wanting a complete understanding of the auto index's inner workings, let's begin by looking inside one of our image galleries …
On the right, we peer into the contents of one of our image galleries. The two items highlighted yellow –
autoindex.xml and the
/thumbnails/ folder – are of importance to our auto index.
autoindex.xml is the most important component; the auto index will list any folder containing an
autoindex.xml file. The file contains vital information for the listing of our image gallery. First, the presence of the file indicates to the auto index that a list-item should be created for this folder. The auto indexing script then looks into this folder to extract our Album Title and Album Description, and optionally instructions for displaying an Album Thumbnail and an Album URL.
autoindex.xml is like a passport that every image gallery carries around, and this passport identifies that gallery to our local authorities, the auto index. This information resides within the gallery itself; while the auto index displays this information, it does not own this information.
So, where does the
autoindex.xml come from?
Every TTG image gallery asks for an Album Title, Description and Thumbnail:
When creating the image gallery, the Album Title and Description should always be filled in. The information here is published in the
autoindex.xml file and used elsewhere in the page for SEO purposes. Think of this as a passport application for your image gallery. It's okay to leave Album Thumbnail blank; we'll talk more about this later.
Of secondary importance is the
/thumbnails/ folder. Unless told to do otherwise, the auto indexing script will dig into your
/thumbnails/ folder and randomly pull an image to display in the list-item for each image gallery. This process is automatic. Users may override the automatic behavior, but more on that later.
The takeaway information for this section is this:
Every image gallery should be assigned an Album Title and Album Description during gallery creation. This information will later be used by the auto index.
The Turning Gate
Creating webbly, wobbly, Lightroomy things since 2007.