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: displayimage.php with scrollbars  (Read 3098 times)

0 Members and 1 Guest are viewing this topic.

je79ayps

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 45
displayimage.php with scrollbars
« on: March 29, 2004, 10:33:24 am »

I'm using the hardwired theme at http://www.test.dk.

When I'm viewing the pictures in large mode in the displayimage.php file I'm getting scrollbars.

Is there anyway to get rid of those?
« Last Edit: August 19, 2008, 08:13:12 pm by je79ayps »
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
displayimage.php with scrollbars
« Reply #1 on: March 29, 2004, 01:44:36 pm »

I looked at your site, and this only seems to happen in hardwired.  Have a look at this thread, and let us know if that helps, http://forum.coppermine-gallery.net/index.php?topic=3728
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

je79ayps

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 45
displayimage.php with scrollbars
« Reply #2 on: March 29, 2004, 08:02:50 pm »

Unfortunately it didn't do the trick.

I already have the below data in my displayimage.php

$winsizeX = $CURRENT_PIC_DATA['pwidth'] + 16;
$winsizeY = $CURRENT_PIC_DATA['pheight'] + 16;

I havn't tried changing the border in the stylesheet as I perhaps don't understand what the + 16 should do.
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
displayimage.php with scrollbars
« Reply #3 on: March 29, 2004, 09:31:59 pm »

Yes, what the thread was saying was to try increasing the '16'. Try changing it to '20', or '30', and see what happens.  You should find the number that works fine, and the scroll bars will be gone.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

je79ayps

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 45
displayimage.php with scrollbars
« Reply #4 on: March 30, 2004, 09:38:22 am »

OK, 18 was the magic number! I guess it was an IE problem because Firefox didn't have the scrollbars.

Thanks!
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 18 queries.