forum.coppermine-gallery.net

Support => cpg1.6.x Support => cpg1.6 upgrading => Topic started by: dimangelid on January 08, 2020, 12:32:43 pm

Title: Scroll bars not appearing when viewing the full size photo
Post by: dimangelid on January 08, 2020, 12:32:43 pm
Hello,

I recently upgraded my gallery from 1.5.48 to 1.6.07 . I had some issues with the theme, but replacing mysql_ with cpg_db_ at theme files solved them all.

Now when me or a user clicks to view the full size photo, it is displayed but scroll bars are missing from the new window, so it is impossible to view the full contents.

I tried to switch the gallery theme to one of the defaults, but the issue remains.

I upload a screenshot with the issue.
Title: Re: Scroll bars not appearing when viewing the full size photo
Post by: dimangelid on January 11, 2020, 09:15:02 pm
The issue happens with Waterfox 56.2.13 and Firefox 71.0 . It does not happen with Vivaldi 2.6.1566.49 and Chrome 61.0.3163.100

At Waterfox and Firefox i have disabled all plugins and cleared all temporary files. Any clue?
Title: Re: Scroll bars not appearing when viewing the full size photo
Post by: ron4mac on January 16, 2020, 02:07:11 pm
I modified your include/themes.inc.php file at line 3304, setting "scrollbars=yes".

The normal behavior for viewing full sized images is to resize the window so that the entire image is displayed ... not needing any scrollbars. I'm not sure why that is not happening in your case. If you want, I can look into that ... or maybe you prefer scrolling around a max-sized image.
Title: Re: Scroll bars not appearing when viewing the full size photo
Post by: dimangelid on January 16, 2020, 09:07:37 pm
I modified your include/themes.inc.php file at line 3304, setting "scrollbars=yes".

The normal behavior for viewing full sized images is to resize the window so that the entire image is displayed ... not needing any scrollbars. I'm not sure why that is not happening in your case. If you want, I can look into that ... or maybe you prefer scrolling around a max-sized image.

Hello ron, thank you very much once more!!

I always remember that Coppermine had the scrollbars, i was not aware the window can be resized automatically. Have you tried the automatic resize on low resolution screens (1366X768 for example) or smaller size (13 inches for example, or mobile devices) either full hd or lower resolution? Does the resized window display correctly?
Title: Re: Scroll bars not appearing when viewing the full size photo
Post by: ron4mac on January 19, 2020, 06:21:06 pm
The full-size image view does not resize the image to fit the window when a transparent overlay is used (Config->Image view).