View Full Version : Overlay with flexible height

12 Sep 2013, 5:11 AM
Hey guys,

I'm trying to place a carousel with images in an overlay. I have one problem though, the carousel doesn't always have the same size (depending on the width & height of the images) so I need the overlay to be flexible. But when I don't specify a height and width for the overlay, the width and height is 0.

Is there a workaround for this? Or am I doing something wrong? Or is it just not possible?

23 Sep 2013, 2:45 AM
You could read the height and width from the image with JS and add a before activeitemchange event which sets the height and width of the caroussel with an animation.