An open API service indexing awesome lists of open source software.

https://github.com/kcsoft/ultralb

Pure JavaScript image gallery
https://github.com/kcsoft/ultralb

Last synced: 8 months ago
JSON representation

Pure JavaScript image gallery

Awesome Lists containing this project

README

          

Ultra Light Box
===============

# What is it

Ultra Light Box is a lightweight pure JavaScript image gallery inspired by [Lightbox](http://lokeshdhakar.com/projects/lightbox2/).

It has no dependencies.

## Supported browsers

* IE8+
* Any modern browser like Chrome, Firefox, Safari, Opera

## Usage

* Include the `ultralb.js` file in your html.

```html

```

* Add images to a container with the class `.ultralb`

```html


My Image
My Second Image


```

Multiple containers with the class `.ultralb` can be added, each represent a gallery group.

The `alt` attribute of the image will serve as a title in the gallery.

## [Demo](http://kcsoft.github.io/ultralb/)