stackem is a jQuery plugin used to group objects together with a stack and spread effect. Objects in a group are stacked one on top of another by default. The plugin provides methods to spread and re-stack the elements.
This plugin is developed with grouping images in mind.
HTML structure
Basically, a group of elements is wrapped by and each sub-element must be given "item" class.