Back to vBulletin 3.8 Add-ons

The most simple image resizer
Mod Version: 1.00, by Frosty

vB Version: 3.8.7 Rating: (6 votes - 4.67 average) Installs: 29
Released: 06 Aug 2011 Last Update: Never Downloads: 0
Not Supported Code Changes  

If you're sick of all those JS based image resizers, you can use this simple code modification to resize high resolution images everywhere.

Go to: /includes/class_bbcode.php (Line 1987)

Find:
PHP Code:
return '<img src="' .  $link '" border="0" alt="" />'
Replace with:
PHP Code:
return '<img src="' .  $link '" border="0" alt="" style="max-width: 700px" />'
Depending on your post table width, you might change "700px" to some other value, e.g. "800px". It will only resize images that are wider than 700px, which will make them fit to the post table.

There are no other edits required, if user wants to see the full image he'll have to go right click and then view image. Which is in my opinion way better than that fancy "Click to see it in full resolution".

Simple but effective!

Download

No files for download.

Similar Mods

Show Thread Enhancements Image resizer vBulletin 3.6 Add-ons

vblts.ru supports vBulletin®, 2022-2024