Image resizing

Hi! Welcome to the Feedback forum.
Before reading anything or asking anything; please check out the FAQs. Your question might be in there. However if you want a better understanding after reading the FAQs, like if it didn't explain it good enough, then by all means ask your question.

Please read the following before posting in this forum...

In this forum you will see an Announcement, and several "sticky" topics. The announcement is the Universal Board Rules. If you are new, read this before doing anything else! The sticky topics will stay above and separated from normal user-made topics in the forum. This is because they outline important information about the board. If you see a sticky topic concerning your issue, please reply with your question or concern in the correct topic. Moderators will see your reply within these topics. Before asking your question, be sure to read the topic and its first page especially. It contains information about your issue that is valuable and may even answer your questions. If the topic does not answer your question, ask your question within the topic, not the forum. If no sticky topic concerns your issue, then you are welcome to ask your own questions by creating a new topic within the forum.

Thank you for keeping the Board Help forum organized!

Image resizing

Postby Nitrol » April 8th, 2013, 3:23 pm

With this simple CSS directive:
Code: Select all
div.postbody div.content img {
    height: auto;
    max-width: 100%;
}

All images in posts would be automatically resized to fit to the window:
Before:
http://i.imgur.com/9gEBeyk.jpg

After:
http://i.imgur.com/YdmbDr7.jpg

What do you think about my idea? :3
Nitrol
User avatar

Years of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membership

Posts: 158
Joined: August 28th, 2010, 11:00 am
Nickname(s): Nit, Mosi
Gender: Male
Pride Points: 9

Re: Image resizing

Postby Moka » April 8th, 2013, 8:36 pm

I think this should have been put in the theme originally and I must've missed it. Thanks for fixing that, Nitrol!

CTRL + F5 in your browser to see the changes.
Moka
:D

User avatar

Years of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membership

Posts: 6226
Joined: June 5th, 2008, 5:04 am
Gender: Male
Pride Points: 139

Re: Image resizing

Postby Regulus » April 8th, 2013, 8:40 pm

Yay it works now. :D
Regulus
Is differentiable...

User avatar

Years of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membership

But convergence is not guaranteed.

Posts: 10963
Joined: September 29th, 2011, 1:19 am
Location: W⋅N²=(40.498°)³, W²⋅N=(57.345°)³
Nickname(s): Reg, Regs, Last Person to Post
Gender: Male
Pride Points: 204

Re: Image resizing

Postby TheLionPrince » April 8th, 2013, 10:25 pm

Thanks, Nitrol! I've had problems with wide images getting cut off in the window when I submit the post. Thanks for fixing it. :)
Image
TheLionPrince
Crown Prince of the Pridelands

User avatar

Years of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membership

Posts: 10612
Joined: June 4th, 2011, 8:55 pm
Location: Baton Rouge, Louisiana
Nickname(s): Chris, TLP
Gender: Male
Pride Points: 147

Re: Image resizing

Postby Moka » April 8th, 2013, 10:40 pm

Has anyone noticed this problem with MLK Classic? This fix is only for MLK Kisasa.
Moka
:D

User avatar

Years of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membership

Posts: 6226
Joined: June 5th, 2008, 5:04 am
Gender: Male
Pride Points: 139

Re: Image resizing

Postby SimbasMate » April 8th, 2013, 10:43 pm

Moka wrote:Has anyone noticed this problem with MLK Classic? This fix is only for MLK Kisasa.


It doesn't work in MLK Classic. I am using it right now.
Image
Amanda wrote:And just like that she vanished, like a fart in the wind.

sig by Regulus
SimbasMate
Queen of Hell

User avatar

Years of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membership

Hey Lauren, reduce your epinephrine levels

Posts: 20244
Joined: May 17th, 2009, 5:18 pm
Location: United States
Nickname(s): SM/Crystal
Telegram: @CatOverlord
Gender: Female
Pride Points: 158

Re: Image resizing

Postby Moka » April 8th, 2013, 10:48 pm

Ah, I see. ~fixed.
Moka
:D

User avatar

Years of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membership

Posts: 6226
Joined: June 5th, 2008, 5:04 am
Gender: Male
Pride Points: 139

Re: Image resizing

Postby FlipMode » April 8th, 2013, 11:03 pm

This is actually really useful! Thanks guys! :)
Image
FlipMode
User avatar

Years of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membership

Posts: 8967
Joined: March 30th, 2010, 9:35 pm
Gender: Male
Pride Points: 264

Re: Image resizing

Postby Moka » April 8th, 2013, 11:06 pm

Please remember posting many large images can be hard on people with slower connections. Ideally, just link to the image instead.
Moka
:D

User avatar

Years of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membershipYears of membership

Posts: 6226
Joined: June 5th, 2008, 5:04 am
Gender: Male
Pride Points: 139

Re: Image resizing

Postby Lionkingview » January 5th, 2017, 5:14 pm

I hate to be the slow kid in class here but how do you use it in the Forum. Cause i tryed to have one of my Pictures resized before posting , but i really don't know how. The preview always makes it clear that it's still to large to properly fit.
ImageImage
But in the end, the human soul
will ever reach for the truth
-Samus Aran-
Lionkingview
I go my own way

User avatar

Years of membershipYears of membershipYears of membership

Posts: 172
Joined: February 15th, 2016, 11:31 pm
Gender: Male
Pride Points: 6

Next

Return to Feedback & How-To

Who is online

Users browsing this forum: No registered users and 5 guests