Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Minimalistic Masonry Gallery

This is a minimalistic image/photo gallery written in PHP. It grabs images from a given folder and generates a minimalistic, but appealing gallery.

Screenshot

Features

  • Extremely easy to use and setup
  • Simple pagination
  • Image shuffling
  • A responsible masonry layout powered by masonry.js
  • Lightbox integration powered by colorbox
  • Very basic analytics capabilities (views)

Usage

Upload the files to a webserver and run composer in order to get the dependencies. Adjust some basic settings in settings.php and upload you images to the /imgs folder. The /imgs folder should be writeable by the script. If you want to use the analytics functionality, you'll need a writeable analytics.csv file in the main folder.

After uploading new images, the imgs/sorting.txt file should be deleted for reindexing.

Basic Analytics

If the option $simpleAnalytics is set to true, the gallery will count how often individual images were loaded. You can access these statistics by looking at analytics.php?show=views. It is not recommended to use this feature with larger galleries since it is not optimized and slows down the load time of the page.

Composer

If you don't have composer installed, run curl -sS https://getcomposer.org/installer | php followed by php composer.phar install.

About

A minimalistic image gallery featuring a masonry layout written in PHP

Topics

Resources

License

Releases

No releases published

Packages

No packages published