User Tools

Site Tools


ce4_auto_index_adding_galleries

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
ce4_auto_index_adding_galleries [2014/07/08 08:27]
matthew [How the Auto Index Works]
ce4_auto_index_adding_galleries [2014/07/08 08:30] (current)
matthew [How the Auto Index Works]
Line 48: Line 48:
  
 **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**. **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**.
 +
 +----
 +
 +==== Understanding Auto Index Behavior ====
 +
 +To make the most of CE4 Auto Index, advanced users may want to know how it works.
 +
 +On load, the album index searches through all of its sub-folders to a depth of one level. For each folder in which it finds an autoindex.xml file, it will create an album entry. The album entry will be created according to the following guidelines:
 +
 +1. If a thumbnail image is specified, that thumbnail will be displayed. If no thumbnail is specified, the album index will select an image at random from the /​thumbnails/​ folder contained within that sub-folder. If no thumbnails exist, the album item will display a default thumbnail image.
 +
 +When specifying a thumbnail image, the thumbnail path should be written relative to the image gallery root, usually in tihe format thumbnails/​filename.jpg.
 +
 +2. If a title is specified, that title will be displayed. If no title is specified, no title will be displayed.
 +
 +3. If a description is specified, that description will be displayed. If no description is specified, no description will be displayed.
 +
 +4. If a relative or absolute URL is specified, the album entry will link to that URL. If no URL is specified, the album entry will default to the sub-directory. The browser will serve index.html or index.php by default. If no URL is specified, and no index file exists, the album entry will probably lead to a Page Not Found error.
 +
 +5. Detected image galleries will appear in the index listed in numeric, then alphabetic order ( i.e. 0 – 9, then A – Z ), the same way that a system folder would sort by name on your computer. You may control the list order of your galleries by naming your folders to list in the desired order. Display order may be reversed or shuffled, explained elsewhere in documentation.
  
 ---- ----
  
ce4_auto_index_adding_galleries.txt · Last modified: 2014/07/08 08:30 by matthew

The Turning Gate
Creating webbly, wobbly, Lightroomy things since 2007.