View Full Version : BB Tag to do thumbnails
I'm looking for something like this: https://vborg.vbsupport.ru/showthread.php?t=50882&page=1&pp=15&highlight=image+thumb+forums
I know I could use the attachments option, but do to some immature folks, we have to moderate attachments for files they upload *zips, etc*. Doing this would allow img's to be posted just fine.
Thanks.
Fargo
11-16-2004, 03:18 PM
if you're not worried about the actual image file size, you could do the following:
Title: thumb1
Tag: thumb1
Replacement:
<a href="{param}" target="_blank"><img src="{param}" border="{option}" width="150"height="113"></a>
Example:
http://www.vbulletin.org/layout/nakkid.gif
Description:
Takes a standard resolution image (image width is bigger than image height) and displays as a 150x113 px. thumbnail, linked to full size image.
Use "imageurl" (no quotes) to show thumbnail without a border.
or
Use "imageurl" (no quotes) to show thumbnail with a border.
NOTE: This is NOT a true thumbnail as it copies the original image and simply rescales it. File size will be the same as the original.
Use Option: Yes
HiDeo
11-17-2004, 03:36 AM
Nice job thanks !
Crapaddict
03-02-2005, 06:35 PM
I created something most similar to this one, except for a few things:
I only specified the width, because that way the width/height ratio will remain the same.
I didn't use the optionfield, thumbnails might just aswell always show a border, or if you would rather have them never show a border, you might set it to border="0"now all thumbnails are uniform
besides that, users can't specify huge borders anymore
and aftertarget="_blank" i added alt="thumbnail picture, click to see fullsize"this way, on mouseover, the users will see a tooltip telling them it's a thumbnail.
resum?; this is what it my code is:<a href="{param}" target="_blank"><img src="{param}" width=100 alt="thumbnail picture, click for full size"></a>
Is there anyway to do this on a reply? Convert the [img] to a [thumb] ?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.