Hello Spartan here today I well be teaching you how to Automatically re-size an image in a mybb 1.8 or 1.6  forum post, Enjoy.
Since mybb doesn't do this already, I learned this code a while ago to us on my old forums.
I'm not sure where I learned it from, but heres how you do it.
Go To > Templates & Style > Theme (s) you use > Showthread.css
Now add this code to the top in advance mode
Change sizes if you'd like
After You have done that go to
> Configuration > MyCode > Add New
Title: image
Regular Expression *
Replacement *
Done
Since mybb doesn't do this already, I learned this code a while ago to us on my old forums.
I'm not sure where I learned it from, but heres how you do it.
Go To > Templates & Style > Theme (s) you use > Showthread.css
Now add this code to the top in advance mode
Change sizes if you'd like
Code:
.postimage {
width: expression(this.width > 350 ? "350px" : true);
max-width: 350px;
max-height: 350px;
height: expression(this.height > 350 ? "350px" : true);
}
After You have done that go to
> Configuration > MyCode > Add New
Title: image
Regular Expression *
Code:
\[img\](.*?)\[/img\]
Code:
<img class="postimage" src="$1"></img>
Done
Private message me with Questions, Comments, or Concerns.