Home    scripts    lpg vanilla

Light-weight PHP gallery

A basic gallery with thumbnails and pagination written in PHP, supporting .jpeg, .png and .gif file types. Up to 3 images can be uploaded simultaneously but only one at the time can be deleted. Images are sorted by filectime() function which is not ideal but since no database was used, it's better than nothing I suppose. The gallery comes with a basic style that is highly customizable by just editing the gallery.css file. Regarding the system configuration, you should read the readme.md file. The code is explained here. You may also want to read this post that touches general aspects of creating a gallery. To view the demo of the gallery, click here.

Package summary:

Download:

File: lpg_vanilla.zip
Licence: MIT
Last update: 9.2.2018

Checksum(SHA256):


c0c7172ddf8494dd21606c566a11951486db029de0544226c05736c45bcb504a

LPG meets ImageLightBox

Here is a version of the gallery that utilizes jQuery and Image Lightbox plugin on the frontend. Note that you will have to download minified version of the library from the author's site, link provided above, and save it inside the js/ folder. To see the demo, click here

Package summary:

Download:

File: lpg_imagelightbox.zip
Licence: MIT
Last update: 9.2.2018

Checksum(SHA256):


6f1c84e7443258acbcb89404f66423456d09fb2f2e1d8622a139f21a88598f6f