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

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

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 1 Guest 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