Settings»Layout Header

<< LayoutSettings | Settings | Directory Navigation Row >>

HTML Header Settings

These settings affect the <head> section of a stand-alone copy of Qdig.

Enable / Disable

Qdig can detect when it's running as a stand-alone script or not. If so, the HTML headers are produced. If not, the HTML headers are automatically suppressed. There are situations where you may want to override this behavior.

$header['force_ena'] = FALSE;
Force HTML headers to be produced.
$header['force_disa'] = FALSE;
Force HTML headers to be suppressed.

The remaining HTML header settings only affect stand-alone galleries. They have no effect if the headers suppressed.


$header['title_text_1'] = 'Image Gallery';
Leading text in in the page's title
$header['title_delim'] = '|';
Delimiter character(s) to use between title elements
$header['title_cntr'] = TRUE;
Include an 'x of y' counter in the title.
$header['title_text_2'] = '';
Trailing text in the title
$header['img_name'] = TRUE;
Include the image name in title
$header['strip_ext'] = TRUE;
Strip the extension from the image name.

Navigation Links


Some browsers can use the header navigation links to create a navigation bar for quick and easy gallery navigation.

$header['nav_links'] = TRUE;
Include nav. links in html header.


Camera icon example

The icon is used for bookmarks / favorites and also in tabs and the location bar.

$header['icon'] = TRUE;
Use the qdig-camera icon.
$header['preload_next'] = TRUE;
Enable the preload-next-image function that slips in some JavaScript to tell the browser to start loading the next image once the current page has finished loading.