jQuery plugin for displaying images in a dynamic grid