HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Gallery Image Resize?

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#59853 (In Topic #13020)
Avatar

Well-settled

Hi there,

just a brief question on the default behaviour of galleries: I use the flow mode interface for all galleries and noticed that it's only in in full screen mode that images are resized to fit the window/frame. In normal gallery view the images are displayed to their full size and with scrollbars. Which doesn't look good and wastes so much space that I have to scroll down pretty far to see the "more images…" section.

Am I missing a configuration option here?

Have a nice one,
Peter
Back to the top
 
Posted
Rating:
#59868
Avatar

Community saint

If you untick the Flow mode interface on the EDIT GALLERY page you can get a thumbnail interface which will give you the alternate regular mode display - it is the display mode I have used
gallery sample page FYI.


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Posted
Rating:
#59909
Avatar

Well-settled

Hi,

I tried the thumbnail mode as well and found out - with a little help from Firebug - that image classes "scale_down" and "dont_scale_down" are used in that mode and there are no scroll bars with either class. I tried to add class="scale_down" to GALLERY_FLOWMODE_IMAGE.tpl, and there they are: Scrollbar-free images that fit nicely between sidepanels in flow mode. And: If you klick on the image, it is shown in full resolution with scrollbars. Very nice.

In global.css where the scale-Down class is defined, I changed max-width to 95% to keep a bit of a border left and right of the image and added max-height: 500px to keep portrait images from pushing their descriptions and thumbnails waaay down on the page.

Hope that no one comes up with 10 good reasons why all that should not be done this way.


Have a nice one,
Peter




Last edit: by Lowlander
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: