sokil/photo-gallery

Photo Gallery based on XML configs

1.1.0 2018-06-03 14:17 UTC

This package is auto-updated.

Last update: 2021-04-10 17:56:03 UTC


README

Installation

$ composer create-project sokil/photo-gallery
$ cd photo-gallery
$ npm install
$ grunt

Configure images

Configure images in ./configs/imageList.xml:

<?xml version="1.0"?>
<images>
    <image
        src="filename.png"
        slug="addressInUri"
        title="Image Title"
        description="Image description"
    />
</images>

Add images to ./public/photo/web/ and ./public/photo/mob/ for desktop and mobile versions.