MyBB Community Forums

Full Version: Image Auto Fit
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i use theme 1.6 in mybb 1.8

i try to add following code in global.css

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

not works

i try to PM mmadhankumar  Big Grin , then try to add following code

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

its work only in google chrome, not firefox

then try to add width

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

its works bot, firefox and chrome,
but
emoticons smiley also bigger follow the pictures

[Image: 1jp7j5.jpg]

pls tell me how to fix this, then i PM the admin access

maybe @.m. can help me?
postbit templates (both postbit & postbit_classic) also need modifying.

IIRC, this has been already suggested
upgrading guidance Wrote:Visit your Admin Control Panel, then go to Templates & Style > Templates > Find Updated Templates. This will show you a list of all the templates that have changed during the upgrade.

You can either revert these templates to their default - meaning all the changes you've made to it will be removed - or you can see a Diff Report which will show you exactly what's changed. If you have a custom theme installed, it is probably best that you look at the Diff Report and apply the changes you need.