Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

andruhon/kGallery

Repository files navigation

This repository is archived

This library is no longer actively maintained. Please contact author in the case you want to take ownership of this library.

JavaScript gallery which can efficiently work with hundreds of photos.

kGallery is a gallery written on JavaScript using jQuery library.

Advantage of this gallery is ability to work stable with hundreds of pictures or with big pictures, without freezing brouser. This effect is achieved by retrieving the list of images from external source (JSON or XML) and downloading pictures gradually until slideshow is playing, not all in ones.

Nearest analog is dojox.image.Gallery (dojox.image.ThumbnailPicker+dojox.image.SlideShow), however kGallery do not need to download dozens of JavaScript files with megabytes of code of dojo library.

kGallery includes kSlideshow and kThumbnailPicker componnents, which can used independently.

####Examples of usage:

  1. Typical usage https://andruhon.github.io/kGallery/example_typical.html
  2. Slideshow only https://andruhon.github.io/kGallery/example_slideshow_only.html
  3. Thumbnails only https://andruhon.github.io/kGallery/example_thumbnails_only.html
  4. Gallery with vertical previews https://andruhon.github.io/kGallery/example_vertical.html

Array as data source:

  1. Typical usage https://andruhon.github.io/kGallery/example_typical_array.html
  2. Slideshow only https://andruhon.github.io/kGallery/example_slideshow_only_array.html
  3. Thumbnails only https://andruhon.github.io/kGallery/example_thumbnails_only_array.html