Cut-off images - suggestion

Topics that have been discussed in the past and closed to further posts are placed in this forum to keep the main forum current and relevant.
Locked
User avatar
Chazz Layne
Posts: 721
Joined: Tue Aug 26, 2008 7:39 pm
Call Sign: KF7FEN
Location: Prescott, Arizona
Contact:

Cut-off images - suggestion

#1

Post by Chazz Layne » Fri Apr 22, 2011 11:29 pm

In the Soft Green theme, if an image in a post is wider than the post area (which is considerably smaller than the browser window) it gets cut off. This often makes the forums very hard to read on common monitor resolutions (anything under 1600x). If memory serves, there's a similar problem on the other theme as well. The following code would be a simple fix for this:

.postbody img {max-width: 100%;}

Added to the style sheets for each theme, that would make images posted reduce to the available space, instead of cropping. It would only affect images bigger than the post area, small ones would be left untouched.
Chazz Laynedotcom

User avatar
OLLIE
OAUSA Board Member
Posts: 2693
Joined: Tue Mar 11, 2008 7:31 am
Call Sign: K6JYB
Location: Sweet Home Alabama!!!

Re: Cut-off images - suggestion

#2

Post by OLLIE » Mon May 02, 2011 8:03 am

Chazz Layne wrote:In the Soft Green theme, if an image in a post is wider than the post area (which is considerably smaller than the browser window) it gets cut off. This often makes the forums very hard to read on common monitor resolutions (anything under 1600x). If memory serves, there's a similar problem on the other theme as well. The following code would be a simple fix for this:

.postbody img {max-width: 100%;}

Added to the style sheets for each theme, that would make images posted reduce to the available space, instead of cropping. It would only affect images bigger than the post area, small ones would be left untouched.
Thanks Chazz. We will look into this.
"OLLIE"
(K6JYB)


APRS
K6JYB ("BugEater")
K6JYB-7 (VX-8R)


http://www.facebook.com/FJOllie

"Some people live an entire lifetime and wonder if they have ever made a difference in the world, the Marines don't have that problem."
-Ronald Reagan


CHECK OUT THE OUTDOOR ADVENTURE USA AMATEUR RADIO NET:
Every Thursday night at 7:30pm PST

Repeater
146.385+ PL: 146.2 Keller Peak (Echolink Equipped)

Locked

Return to “Archived Topics”

Who is online

Users browsing this forum: No registered users and 1 guest