Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/ionelmc/jquery-gp-gallery

jQuery gallery plugin (ala google plus photo galeries)
https://github.com/ionelmc/jquery-gp-gallery

Last synced: 15 days ago
JSON representation

jQuery gallery plugin (ala google plus photo galeries)

Awesome Lists containing this project

README

        

==========================================================
jQuery gallery plugin (a la google plus gallery)
==========================================================

Gallery that resizes the images to fit the container width and show zoomed in images on hover.

Usage
=====

::

$(container_selector).gpGallery(item_selector)

Where ``container_selector`` and ``item_selector`` are string containing jquery expressions for
selecting elements. You want to have the ``container_selector`` matching a single element.

Example::





...


$('.pictures').gpGallery('img');

*Note:*

Items should have sizes. Either specify the sizes on the images or whatnot or run the gpGallery
code *after* the document is rendered (and sizes are available).

Demo
====

http://jquery-gp-gallery.ionelmc.ro/demo/