Back to vBulletin 3.5 Add-ons

[img] tag thumbnail maker.
Mod Version: 1.00, by Blaine0002

This modification is in the archives.
vB Version: 3.5.4 Rating: (0 vote - 0 average) Installs: 11
Released: 24 Jun 2006 Last Update: Never Downloads: 0
Not Supported  

This makes it so whenever you use the
PHP Code:
[img
bbcode, instead of a real picture it will post a thumbnail instead. when you click that thumbnail it will bring you to the actual image.

open includes/class_bbcode.php
find:
PHP Code:
        return '<img src="' .  $link '" border="0" alt="" />'
replace with:
PHP Code:
        return '<a href="' .  $link '" target="_blank"><img border="0" width="250" alt="Thumbnail" src="' .  $link '" /></a>'

This will convert all images so they have a width of 250 and make them clickable to the original image. note: if you have a oblong image, the hight will stay preportionate so it may cause thumbnails to look strange, you can also specify a height but the thumbnails will not be preportionate. Change the width="250" to whatever you want :-)

Temp fix: (untill i get more time)
If you dont find that this is what you are looking for, try making a new bbcode with the following options

Title: thumbnail
Tag: imgt
Replacement:
PHP Code:
<a href="{param}" target="_blank"><img border="0" width="250" alt="Thumb resize." src="{param}" /></a
example: [php][imgt]http://img96.imageshack.us/img96/7499/gibraltar12804sx.jpg[/imgt][/php

then ad an image so people can use the imgt tag to make a thumbnail of only certain images.

Download

No files for download.

Similar Mods

vB Query Maker v3.0 vBulletin 2.x Full Releases
vB Query Maker vBulletin 2.x Full Releases
Sig maker vBulletin 2.x Beta Releases

vblts.ru supports vBulletin®, 2022-2025