<?php
class Kwc_Basic_ImageEnlarge_EnlargeTag_ImagePage_Trl_ContentSender extends Kwf_Component_Abstract_ContentSender_Lightbox
{
    protected function _getOptions()
    {
        $dim = $this->_data->parent->getComponent()->getImageDimensions();
        $options = array(
            'width' => $dim['width'],
            'height' => $dim['height'],
            'style' => 'CenterBox' //TODO get from master
        );
        $options['lightboxUrl'] = $this->_data->url;
        return $options;
    }
}

<?php
class Kwc_Basic_ImageEnlarge_EnlargeTag_ImagePage_Trl_ContentSender extends Kwf_Component_Abstract_ContentSender_Lightbox
{
    protected function _getOptions()
    {
        $dim = $this->_data->parent->getComponent()->getImageDimensions();
        $options = array(
            'width' => $dim['width'],
            'height' => $dim['height'],
            'style' => 'CenterBox' //TODO get from master
        );
        $options['adaptHeight'] = true;
        $options['lightboxUrl'] = $this->_data->url;
        return $options;
    }
}

Add adaptHeight as in master
Add adaptHeight as in master

Should be set for images in lightbox
