displayimage.php with scrollbars displayimage.php with scrollbars
 

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

displayimage.php with scrollbars

Started by je79ayps, March 29, 2004, 10:33:24 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

je79ayps

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?

Casper

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

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.

Casper

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

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

Thanks!