Table of Contents

Advanced Options in the Auto Index

The auto index has a handful of advanced options buried in code. To get at these features, you will need a plain text-editor.

To get at these options, open the file /resources/autoindex/autoindex-view.php using your text-editor. Near the head of the script, you fill see these lines:

$reverseit = false; // change to true if you'd like the album displayed in reverse order
$shuffleit = false; // change to true if you'd like the album displayed in shuffled order
$popit = false; // open targets in a new browser tab/window

You may set this options to 'true' to achieve various effects, as described below.

$reverseit = true;

Will cause the gallery index to list albums in reverse order.

This can be useful in many circumstances, the most common of which is when you want to display dated folders, with the most recent folder appearing at the top. Here are some folders of images from my recent trip to China: