woothemes/FlexSlider — pull request #390 by fricto (2012-10-24 16:02:15+00:00)
Title: Handling images of varying heights/aspect ratios without resizing the slider container, middle-aligning vertically.

I've added a parameter that allows you to set the height of the slider to accomodate the tallest image in the set, then vertically middle align each image in the set.

It fires once at the setup of the slideshow, then on resize. It iterates over each slide once to get the max height, then again to set padding-top on all of the slides that are shorter than the tallest.

I've also added an example html file and one portrait image to demo the feature. It is a copy of the default demo with the portrait image added as the third slide and the parameter set to true to activate this feature.

The parameter defaults to false.

Great plugin, thanks very much!

Michael