[HBD] Image Resize - open in new window
This simple mod resizes images wrapped in [img ] [/img ] tags and resizes to full size in a new window when clicked...
Note:
Editing a main .php file is needed to use this mod so only use if you feel comfortable doing so.
Open includes/class_bbcode.php find:
Replace with:
Open your styles manager
Admincp >> Styles & Templates >> Style Manager >> "Your style"
in the "Additional css box add:
Change highlighted css to your desired needs.
Do not ask for any screenshots as if you can't tell what this does you don't need it nor should you be using vBulletin...lmao...
Alternative CSS only img resize:
http://www.vbteam.info/vb-3-8-x-add...s/22272-hbd-simple-css-only-image-resize.html
This simple mod resizes images wrapped in [img ] [/img ] tags and resizes to full size in a new window when clicked...
Note:
Editing a main .php file is needed to use this mod so only use if you feel comfortable doing so.
Open includes/class_bbcode.php find:
PHP:
return '<img src="' . $link . '" border="0" alt="" />';
Replace with:
PHP:
return '<a href="' . $link . '" title="Click to view full size" target="_blank"><img class="hbd_resize" src="' . $link . '" border="0" alt="Click to view full size" /></a>';
Open your styles manager
Admincp >> Styles & Templates >> Style Manager >> "Your style"
in the "Additional css box add:
Code:
/* HBD IMG RESIZE - NEW WINDOW */
.hbd_resize
{
[COLOR="red"]max-width:500px;
max-height:400px;[/COLOR]
}
Do not ask for any screenshots as if you can't tell what this does you don't need it nor should you be using vBulletin...lmao...
Alternative CSS only img resize:
http://www.vbteam.info/vb-3-8-x-add...s/22272-hbd-simple-css-only-image-resize.html