News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

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://coppermine-gallery.com/forum/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!