Quote:
Originally Posted by SiMateoAko
NEW METHOD:
I can't believe I didn't think of this before.
Some of you may have editted your class_bbcode.php ( as per my instructions before ) to have it work correctly. I'd now recommend you don't do that and just add a few lines to your CSS file instead.
Add the following to your CSS:
Code:
IMG {
max-width: 700px;
width: expression(this.width > 700 ? 700: true);
}
Obviously change your values appropriately.
The benefits of doing it this way are hopefully obvious. No code changes are required, so upgrading won't be an issue.
IE is the real problem here b/c they are not totally CSS2 compliant. I believe it's been fixed with IE7, but the second statement (width: expression..) is just for people using old browsers.
|
by doing it this way you loose the link to the ral fullsize image