Skip to content

nanoGALLERY for jQuery v5.9.0

Compare
Choose a tag to compare
@Kris-B Kris-B released this 25 Oct 23:35
· 20 commits to master since this release

nanoGALLERY v5.9.0 release notes.

New options
  • albumMax: Maximum number of albums to display (Flickr, Picasa/Google+, nanoPhotosProvider) (0=disabled).
    integer; Default: 0
  • galleryEnableKeyboard: Enables keyboard navigation beween albums.
    boolean; Default: false
    ESC: display first level
    Up, Right, PageUp: Display next album
    Down, Left, PageDown: Display previous album
    (credits: Victor A. Banuelos - https://github.com/vbanuelos)
New API methods
  • refreshSize: Force a gallery resize.
    When the gallery container is hidden and is set to visible at a later time, this method will avoid incorrect thumbnail position.
    $('#yourElement').nanoGallery('refreshSize');
    (credits: Daniel Eck - https://github.com/Ecksters)
  • minimizeToolbar: minimize image viewer toolbar.
    $('#yourElement').nanoGallery('minimizeToolbar');
    (credits: Victor A. Banuelos - https://github.com/vbanuelos)
  • maximizeToolbar: maximize image viewer toolbar.
    $('#yourElement').nanoGallery('maximizeToolbar');
    (credits: Victor A. Banuelos - https://github.com/vbanuelos)
  • galleryCountImages: Returns the number of images in the current displayed album.
    $('#yourElement').nanoGallery('galleryCountImages');
    (credits: Victor A. Banuelos - https://github.com/vbanuelos)
  • moveToNextAlbum: Display next gallery album.
    $('#yourElement').nanoGallery('moveToNextAlbum');
    (credits: Victor A. Banuelos - https://github.com/vbanuelos)
  • moveToPreviousAlbum: Display previous gallery album.
    $('#yourElement').nanoGallery('moveToPreviousAlbum');
    (credits: Victor A. Banuelos - https://github.com/vbanuelos)
Misc

Many thanks to Victor A. Banuelos, Daniel Eck, Jeff Mills and Andrea Grassi for their contribution.