/web-gallery

Responsive web gallery script

Primary LanguageJavaScriptMIT LicenseMIT

Web Gallery

Responsive web gallery script using Photoswipe javascript module.

PHP classes and functions that parse album directories for images and generates HTML for displaying them nicely.

Usage

Upload images to the images/albumname/ directories and open www.yoursite.com/path/to/index/?generate to automatically generate thumbnails for all new images.

Folders

  • images (albums (directories) goes here, with images inside these)
  • photoswipe (photoswipe resources)
  • thumbs (thumbnails are automatically generated here)
  • uploads (uploaded files go here)

Album directory names should be of the format XXName where XX is the ordering, e.g. 01Test Album.

Photoswipe 4.1.0

https://github.com/dimsemenov/photoswipe

JavaScript image gallery for mobile and desktop. PhotoSwipe 4.0+ is developed by Dmitry Semenov.

License

This project is licensed under the MIT license.

About

Code developed and maintained by Ben Tomlin.