Skip to content
The JavaScript Image Gallery http://galleria.io
JavaScript CSS
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
src
.gitignore
LICENSE
README.rst

README.rst

Galleria

Responsive JavaScript Image Gallery

This is the open source repository for the Galleria core, the Classic theme, plugins and everything else that comes bundled with the free download. Feel free to post issues - but keep them code related please. You may also do pull requests, but make sure you include some comments and/or tests.

Info, demos, docs and everything else: http://galleria.io

Updates via twitter: http://twitter.com/galleriajs

Non-code related issues and support: http://support.galleria.io

Documentation

Documentation is currently available in reST format in the repository.

You can build local HTML using Sphinx: http://sphinx.pocoo.org/

Changes compared to original (aino) version of galleria

  • Fix for "No theme CSS loaded", when galleria is loaded dynamically through JS and AJAX Galleria may be inserted into the dom dynamically (e.g. via JavaScript loaded from an AJAX-Request). In such a case, the theme's script-tag seems not to be immediately present in the DOM when the addTheme-function looks for it. We therefore try multiple times before raising an error.
  • Sometimes, the dummy image was not scaled and centered properly when using lazyLoadChunked(). This was due to the dimensions of the dummy image not being computed in time (with lazyLoadChunked(...)). We changed the retry method from "retry once after 2ms" to "Utils.wait{ ..., timeout: 100 }" to retry multiple times for 100ms.
Something went wrong with that request. Please try again.