MyBB Community Forums

Full Version: Auto-Resize Posted Images
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I was wondering if there's a way to auto-resize images in a post that is larger than a specific dimensions?

I know you can set a specify dimensions using [img=300x300] but it would be convenient to just auto-resize.
its already available in 1.8.... 


in global.css find

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


and change that to something like this if you want the size to not to exceed a limit...

.scaleimages img {
max-width: 800px;
}
(03-10-2015, 10:55 AM)mmadhankumar Wrote: [ -> ]its already available in 1.8.... 


in global.css find

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


and change that to something like this if you want the size to not to exceed a limit...

.scaleimages img {
max-width: 800px;
}

This is what I need! Thanks!
Check how it works in firefox browser, cause firefox manages max-width in other way than Google Chrome-like browsers.
When I've just changed max-width, ALL images (including smileys) become fixed size.