Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Top margin and Bottom margin of the slideshow  (Read 2360 times)

0 Members and 1 Guest are viewing this topic.

cwt

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Top margin and Bottom margin of the slideshow
« on: February 16, 2004, 07:48:30 pm »

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!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Top margin and Bottom margin of the slideshow
« Reply #1 on: February 17, 2004, 03:27:50 am »

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
Logged

Widi

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 32
    • http://www.widi.tk
Top margin and Bottom margin of the slideshow
« Reply #2 on: February 17, 2004, 02:41:11 pm »

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.
Logged

cwt

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Top margin and Bottom margin of the slideshow
« Reply #3 on: February 18, 2004, 06:12:01 am »

Thank you gaugau and Widi! Its work!!
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 15 queries.