blackgallery-svelte
v1.0.3
Published
This is the Blackgallery Svelte plugin for showing multiple images. By clicking at top button you can switch between images from unsplash
Downloads
4
Maintainers
Readme
Blackgallery image gallery Svelte plugin
Install
$ npm install blackgallery-svelte
# or
$ yarn add blackgallery-svelte
Image gallery plugin
Blackgallery is a simple image gallery that can show upto 15 images using simple CSS and JS.
No zoom, no fancy effects.
Live demo
Check out live demo
This is from a config.json
file that reads like this.
File is situated in root of project(where index.html lives).
[{
"src": "https://source.unsplash.com/random?sig=2",
"alt": "Beautiful scenery I "
},
{
"src": "https://source.unsplash.com/random?sig=4",
"alt": "Beautiful scenery II "
},
{
"src": "https://source.unsplash.com/random?sig=3",
"alt": "Beautiful scenery III "
},
{
"src": "https://source.unsplash.com/random?sig=1",
"alt": "Beautiful scenery IV "
},
{
"src": "https://source.unsplash.com/random?sig=45",
"alt": "Beautiful scenery V "
},
{
"src": "https://source.unsplash.com/random?sig=37",
"alt": "Beautiful scenery VI "
},
{
"src": "https://source.unsplash.com/random?sig=20",
"alt": "Beautiful scenery VII "
},
]
Contact
You can DM me on Twitter for help/suggestions.
You can follow me for updates.