coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: je79ayps on March 29, 2004, 10:33:24 AM

Title: displayimage.php with scrollbars
Post by: je79ayps 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?
Title: displayimage.php with scrollbars
Post by: Casper 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
Title: displayimage.php with scrollbars
Post by: je79ayps 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.
Title: displayimage.php with scrollbars
Post by: Casper 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.
Title: displayimage.php with scrollbars
Post by: je79ayps 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!