View Full Version : No thumbnail BB Code for vBulletin 4?
Astyanax
03-10-2010, 06:51 PM
Why is it so difficult to find a working thumbnail BB Code for vBulletin 4?
Astyanax
04-17-2010, 10:13 PM
No one? Something like this one: http://www.phpbb3bbcodes.com/viewtopic.php?f=4&t=324
mikey1991
04-17-2010, 11:20 PM
That'd be easy to do, basically just follow the steps listed there... or look for "Lightbox"
Astyanax
04-18-2010, 08:36 AM
Thanks mikey! But is there a way to create a thumbnail code that automatically resize an image to for example 800 x 600 no matter how big it is?
In this code you have to link to the thumbnail itself. I used a BB Code in my old phpBB3 forum before that resized all images to one size and you just had to link to the original image link.
This is what I want, but I dont get it to work in my forum: http://www.phpbb3bbcodes.com/viewtopic.php?f=2&t=217&start=0&hilit=image
mikey1991
04-18-2010, 11:56 PM
https://vborg.vbsupport.ru/showthread.php?t=239277&highlight=resize
https://vborg.vbsupport.ru/showthread.php?t=230411&highlight=resize
https://vborg.vbsupport.ru/showthread.php?t=230176&highlight=resize
These are all lightbox modifications, I don't know of a mod for vB4 which resizes the images IN thread
EDIT: You got me curious, what happens when you go to the last post in THIS (http://myawesometestingsite.info/threads/8-Thumbnail-Viewer-Test&styleid=1) thread and click the image? Does it do the desired effect?
Astyanax
04-19-2010, 04:08 PM
mikey, this is eaxactly what I am looking for! But in my phpBB3 forum I only had to add a BB Code no need to upload anything.
I want all images larger than (for example) 800 x 600 to be resized to 800 x 600. When clicking on those images you automatically get to the full image size.
Shouldnt be hard to fix? :)
mikey1991
04-20-2010, 10:49 AM
Right now that BBCode resizes images to basically, 50% smaller than what the image was originally. I don't know how to make it resize images only over a certain size, sorry. I've left the bbcode in that thread for you if you want it.
midnz
07-20-2010, 04:21 AM
Maybe you could work with a BBCode I made for my own forum today. I wanted to resize images to 200 x 150 and increase to 800 x 600 with onclick and reduce back to 200 x 150 again with ondblclick. It works well for me.
<img src="http://www.{param}" width="200" height="150" onclick="this.src='http://www.{param}';this.height=600;this.width=800" ondblclick="this.src='http://www.{param}';this.height=150;this.width=200"><!{param}>
I haven't tested this edited version but if it doesn't work the way you want you could play around with it a little:
You must remove the http://www. from any image link for it to work though.
<img src="http://www.{param}" width="800" height="600" onclick="this.src='http://www.{param}';this.height=;this.width=" ondblclick="this.src='http://www.{param}';this.height=800;this.width=600"><!{param}>
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.