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.


Picture Gallery Probs

Login / Search

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

Well-settled

G'day guys, it's been a while but i've got another problem i'd like some help with. Today I realised that whenever I view a picture in my gallery it has scroll bars around the image. It never used to do this, it just had scroll bars for the whole page. I haven't edited my galleries recently, the only thing I fiddled with was the layout of my downloads page. Any theories?

[OMA] Clawcity - If It Ain't You….Frag It!!!
LAN Of The Damned - Admin
Back to the top
 
Posted
Rating:
#39445
Avatar

Community saint

Hey clawcity,

Took a trip to have a look. Sorely disappointed. NO scrollbars visible on the pics.

Viewing in IE7 at 1280x1024.

Perhaps you've 'fixed' it?

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#39451
Avatar

Well-settled

I have look also and NO scrollbars around the pictures!

Viewing with Opera 9.2 at widescreen
Back to the top
 
Posted
Rating:
#39478
Avatar

Well-settled

lol, it's not fixed, you're just viewing the page in a higher resolution than me. The pictures are 1024 x 768, with is also my resolution. Formally the scrollbars would border the page, now they border the picture.

[OMA] Clawcity - If It Ain't You….Frag It!!!
LAN Of The Damned - Admin
Back to the top
 
Posted
Rating:
#39483
Avatar

Community saint

Yup!

Scrollbars, HORIZONTAL and VERTICAL appear when the res is cranked down.

The pic I was viewing was sized at 1024x768 and I guess if you don't make them smaller they'll always exceed the space on a 1024 display.

Your shout.

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#39485
Avatar

Well-settled

It's not the size of the image that concerns me, i've always had to scroll at this resolution. It's the fact the scrollbars have relocated themselves from around the whole page, to around the image itself. It doesn't look right. I just want to move the scrollbars back where they used to be.

[OMA] Clawcity - If It Ain't You….Frag It!!!
LAN Of The Damned - Admin
Back to the top
 
Posted
Rating:
#39486
Avatar

I think this'd do it…

In global.css change:

Code

.gallery_media_expose {
   overflow: auto;
   text-align: center
}
to:

Code

.gallery_media_expose {
   text-align: center
}


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: