Skip to content

Installation and customisation

Tom.C. edited this page Jul 7, 2015 · 1 revision

Installation instruction

  • Unzip the archive and transfer to your web host.
  • Copy your photos in the photos subdirectory.
  • You're done ! Your gallery is browsable.

Note: Depending on your host, you mave have to remove the .htaccess files (Some hosts do not support some Apache configuration instructions.)

Customisation

  • Title: In config.php, change the line $title = “My Gallery”;
  • Author: In config.php, change the line $author = “Me :)”;
  • Number of thumbnails per page: In config.php, change the line $thumbs_pr_page = “21”;
  • Folder icons: If an image folder.jpg is present in a folder, it will be used as folder icon.
  • Comments: If a file comment.html is present in a folder, it will be displayed above the thumbnails.
  • Template: In config.php, change the line $templatefile = “board”;

If you need further customisation, you can create your own template. Start by duplicating one of the existing templates in the templates directory, then alter the CSS (which is included in the HTML file).

Clone this wiki locally