displayimage.php with scrollbars displayimage.php with scrollbars
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

displayimage.php with scrollbars

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

Previous topic - Next topic

0 Members and 2 Guests 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!