With FlexSlide you can easily adopt you Gallery to any Layout.
Simple Style
Most of the items in this gallery are plain image. Some are links holding a single image and we have this and another div Item.
Isn't that great to be able to combine all different types of stuff?
I'm loving it :)
DIV
This is a simple text div containing some inline style.
It demonstrates the autoItemSize feature for width and height. It won't be centered - yeah it has the full size so it won't work.
However it could be done by setting
autoItemSize: { x: true, y: false } (which is default) and
centerItemTags: ['img', 'a', 'div'].
Using this the div would have the full width and would be centered vertically.
DIV
Options
(select on of the transitions on the left to set it to the current FlexSlide)