sokil/photo-gallery

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

Photo Gallery based on XML configs

1.1.0 2018-06-03 14:17 UTC

This package is auto-updated.

Last update: 2021-10-10 18:56:05 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.