LuxGallery

Combined gallery and lightbox

Incredibly simple, all-in-one solution for web galleries

Responsive design at any size

LuxGallery exampleLuxGallery example
LuxGallery mobile exampleLuxGallery mobile example

Instructions

  • Download LuxGallery (lux.zip - click the 'Raw' button)
  • Unzip the downloaded folder (lux.zip -> lux)
  • Upload the LuxGallery folder (lux) to the root of your website (where your homepage resides)
  • To include a gallery on a page, copy and paste the following line of code into the head section of the page:
    <?php include $_SERVER['DOCUMENT_ROOT'].'/lux/luxgallery.php'; ?>
  • If the page isn't already a PHP file, rename it (index.html -> index.php)
  • Make a folder called "images" on the same 'level' (within the file hierarchy) where your gallery page is. In that folder, place the images you want the gallery to display.
  • Finally, you can instantiate a gallery anywhere within the body of your page by including the following line of code:
    <?php luxGallery("Your gallery name goes here") ?>

About

Requirements:

  • LuxGallery requiers a web server with PHP 5.4+
  • Only one gallery per page
  • Image files cannot begin with a period

Supported image file formats:

JPG / JPEG, PNG, GIF, TIFF, BMP

I made LuxGallery because I wanted a simple, elegant photo gallery that was plug-and-play. Most importantly, I created LuxGallery to be accesible and and usable by everyone, regardless of their familiarity with web development.

Credits

Created by Richard Ber Chapman

richardberchapman.com

Contact: richardberchapman@gmail.com