Justified Gallery

Justified Gallery

This is a JQuery plugin that allows you to create an high quality justified gallery of images. Fill all the spaces!

This is a JQuery plugin that allows you to create an high quality justified gallery of images. Fill all the spaces! A common problem, for people who create sites, is to create an elegant image gallery that manages the various sizes of images. Flickr and Google+ manage this situation in an excellent way, the purpose of this plugin is to give you the power of these solutions, with a new fast algorithm.

Ideally, we want a disposition of the images without cropping them. But, to dispose all the images, minimizing their cropping parts, can be reduced to the “Knapsack Problem”, known to be an NP-complete problem. We can’t do miracles, but we can try to minimize the cropping parts of the images. Furthermore, we need a good appealing disposition: we need that all the images of a row to have the same height.

Fork On GitHub View Homepage Try a Demo

Related Plugins

  • Share
  • Copyright 2016 by WebiBeris.com. All Rights Reserved.