Skip to content

pooiod/imagelib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ImageLib

A simple and lightweight image gallery for the web.

What it is

ImageLib is a JavaScript library for creating simple and interactive image galleries on your website. It allows you to display a single image or a full gallery.

How to use

Include the main JavaScript file in the <head> of your HTML document:

<script src="https://pooiod.github.io/imagelib/main.js"></script>

Wrap your images inside the <gallery> custom element. Enable autoplay with the autoplay attribute:

<gallery>
    <img src="/images/image1.webp">
    <img src="/images/image2.png">
    <img src="/images/image3">
</gallery>

See here for more info, and a live demo.

About

A simple multi-file image gallery for the web

Resources

Stars

Watchers

Forks

Contributors