![]() |
ok for vb 3.6?
|
Yes. Works fine with vb 3.6.
|
Quote:
|
I've found an alternative solution (I'm running a vBulletin 3.6.1 board)
Open your /forum/includes/class_bbcode.php file: On line 1879, replace: PHP Code:
PHP Code:
HTML Code:
.resize {max-width: 728px; width: expression(this.width > 728 ? 728: true);} Tested both in IE7 RC1 & Firefox 1.5.0.7 Resized image will keep it's link if it has any. Demo: http://www.msxlabs.org/forum/dogadan...tml#post224010 Actual image width is 1024 pixels (resized to 728px) and the thumbnail keeps the link. |
Very useful, neutralizer thanks - this is by far the easiest way to do this.
I personally set both max width and max height in the CSS definition, as extremely 'tall' images can be annoying too, i.e. I use this CSS code: HTML Code:
.resize /EDIT: Nevermind, I wound up modifying and using the code here and it works a treat for me :) |
Quote:
|
Quote:
|
I'm confused !! which code is used for vB3.5.5 ??
|
This works great but how do I stop the images in signatures from being resized too?
Thanks Quote:
|
in vb 3.6.3 not work.
when I can change the code? thank's. |
All times are GMT. The time now is 02:50 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|