jquery Cycle plugin

jquery Cycle plugin

hello,

i have following problem: i want to resize the div-container which stores the slideshow images
as title already mention, i use the cycle plugin.
so my images have different heights and i want to resize the page layout depending on the current visible image height.
  1. <div class="pics">
  2.     <img src="images/image1.jpg" class='img-bot'/>
  3.     <img src="images/image1.jpg" class='img-bot'/>
  4.     <img src="images/image1.jpg" class='img-bot'/>
  5. </div>
  1. $('.pics').cycle({
  2.     fx:'fade',
  3.     speed:'2000',
  4.     timeout: 0
  5. });

i tried to surround the images with div container and set the display attribute of the non visible container to none and the one which is visible to block, but this has no effect. the pics container height stays the same, this means the height from the biggest image.
does anybody has a solution for this problem?

greetings
peter