Overlay with flexible height
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?
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.