Top margin and Bottom margin of the slideshow Top margin and Bottom margin of the slideshow
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Top margin and Bottom margin of the slideshow

Started by cwt, February 16, 2004, 07:48:30 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

cwt

Hi,

I have a problem with top margin and bottom margin of the slideshow. In the normal view, there isn't any problem with the top margin and bottom margin. But when I start using the slideshow, it creates a huge margin on top and bottom, which push the picture very far down. I have to move the page down in order to see the slide show. Can anyone help me? Thanks!

Joachim Müller

I haven't looked into this very deeply, but I guess you could play with the setting to be found in displayimage.php - look for
Quote$params = array('{CELL_HEIGHT}' => $CONFIG['picture_width'] + 100,

GauGau

Widi

Look/search for this line (think it's line 451 in cpg 1.2)

Quote$params = array('{CELL_HEIGHT}' => $CONFIG['picture_width'] + 100,

and replace it with:

Quote$params = array('{CELL_HEIGHT}' => $CONFIG['picture_height'],

Now it makes te cell height as high as the height of the shown picture.

cwt