We use this simple photography slideshow at comparethemarket.com to display our images in the office.
In /config/images.json
you can customise the array of image objects. Each has the following key/value pairs:
src
- REQUIRED - The image src for wherever your image is hostedtitle
- OPTIONAL - The image title, will be displayed as part of a watermark placed on the imagephotographer
- OPTIONAL - The photographer who took the image, will be displayed as part of the watermarkwatermarkPosition
- OPTIONAL - Must be one ofright
,left
orcenter
. The default isright
. This determines the alignment of the watermark.
When the app starts it will cycle through the array of images and display them in order.
This is a very basic app created with create-react-app
.
To get started:
- git clone
npm install
npm start
There are no tests at present!
To create the production build: npm run build
To start the production server: npm run serve