Multi
Multi
Closed
  • Pages:
  • 1
Stop Stretching
Topic Started: Sunday, 22. November 2009, 21:51 (1,449 Views)
Alexis
Member Avatar
Level 6
If you add this to the css it will stop images stretching the page, especially if people post images of their prints.

Code:
 
tbody tr td.c_post img {max-width:660px!important;}
Edited by Alexis, Sunday, 22. November 2009, 21:51.
Posted Image
Off
Profile
Top
 
Chesterfield
Member Avatar
Level 12
Wouldn't that mess up some people with larger resolutions?
I can tell by looking that posts on my resolution are wider than 660px.
Off
Profile
Top
 
Alexis
Member Avatar
Level 6
It wouldn't alter the width of the post, just the image. The thing is most people have a resolution of 1024x768 so it will benefit them, it wont really mess it up, it just resizes the image, it doesn't crop it.
Posted Image
Off
Profile
Top
 
Joe
Member Avatar
Hi.
Hmm.. I think it would be easier to just link to images. :P
Joe
Off
Profile
Top
 
Alexis
Member Avatar
Level 6
Yes I know it would but it's just there in case someone does post an image that will stretch the page. You don't have to add it but at least its there if you want it.
Posted Image
Off
Profile
Top
 
Joe
Member Avatar
Hi.
Yeah, we'll see. Thanks for the suggestion though. ^_^
Joe
Off
Profile
Top
 
Chesterfield
Member Avatar
Level 12
Oh. Didn't see the img at the end xD .

Just add it Joe. It's not that big of a deal :P .
Off
Profile
Top
 
Joe
Member Avatar
Hi.
Well, seeing that it only deals with the images, I don't see a problem with adding it.

Hold on- adding it.
Joe
Off
Profile
Top
 
Cody
Member Avatar
Winter is coming.
Perhaps there's a way of making it adjustable depending on the forum width.
Posted Image
Posted Image
Off
Profile
Top
 
Joe
Member Avatar
Hi.
It could be set to 90% or whatever...
Joe
Off
Profile
Top
 
Alexis
Member Avatar
Level 6
Yes it doesn't have to be exact pixels, % might be more resolution friendly.
Posted Image
Off
Profile
Top
 
Joe
Member Avatar
Hi.
Well, if there's any issues, we'll change it. :P
Joe
Off
Profile
Top
 
Delirium
Member Avatar
Level 6
There's a code on the official support forums that will re-size and make it clickable. I use it and it's rather nice as it both avoids stretching and allows a preview of the full image.
Off
Profile
Top
 
Joe
Member Avatar
Hi.
Ah, thanks Delirium. That might work a bit better. :P
Joe
Off
Profile
Top
 
Anicho
No Avatar
Level 2
How about?

tbody tr td.c_post img {overflow-x: scroll; !important;}
Off
Profile
Top
 
Thane
Member Avatar
Manufacturing the future
My resolution is huge..
Posted Image
aspiring electrical engineer
Off
Profile
Top
 
Anicho
No Avatar
Level 2
Anicho
Monday, 23. November 2009, 00:50
How about?

tbody tr td.c_post img {overflow-x: scroll; !important;}
Anyone know if this will work?
Off
Profile
Top
 
Chesterfield
Member Avatar
Level 12
Not sure if that would work but it'd be awesome if it did :P .
Off
Profile
Top
 
Anicho
No Avatar
Level 2
I will, because I think I saw someone use overflow-x: hidden; so scrollbars should work.
Off
Profile
Top
 
Cody
Member Avatar
Winter is coming.
Well, RyJoe went to bed. He can try it tomorrow.
Posted Image
Posted Image
Off
Profile
Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
Go to Next Page
« Previous Topic · Archived Feedback · Next Topic »
Closed
  • Pages:
  • 1

Welcome Guest [Log In] [Register]
Outline Live
Loading..
Loading..