Log in

View Full Version : How to make my forum do this with pictures?


SnappedAgain
12-12-2005, 06:50 AM
I want to know how to enable my forum to make pictures that are posted via the https://vborg.vbsupport.ru/ into thumbnails just as they have done on THIS SITE HERE (http://www.jabbasbabes.net/showthread.php?t=4313) Is this done via the GD library?

thanks in advance

Valter
12-12-2005, 07:04 AM
Forum requires registration. Post screenshots.

SnappedAgain
01-07-2006, 04:05 AM
ok my bad I attached the screenshot.

as you can see there are a buncha thumbnails with the pic size underneath. when you click on a thumb the pic loads in a new window and loads as the full size..

any ideas how this works?

apfparadise
01-07-2006, 05:31 AM
Those are hosted on a site that does that, and are just put in using the code the site provides. Basically it uses the URL code for the big image with a nested IMG code for the thumbnail. Forgot which one, either Photobucket or one of the others. It has nothing to do with the actual forum, I think.

SnappedAgain
01-07-2006, 06:20 PM
ok yea i was kinda thinking that. the images are hosted by http://imageshack.us/

is there any kinda hack or plugin that will allow you to do this? I know that if someone adds an attachment such as a pic it will display a thumb and then once clicked on it will show the larger image. but what i want something that will do the same thing but when people use the https://vborg.vbsupport.ru/ function.

any ideas?

thanks

Warrior
01-07-2006, 06:53 PM
Yeah - I have a problem with the IMG BB code showing a link and not the actual pic... since 3.5.x... I beleive this is an ongoing issue at vBulletin.com... I have yet to see a cause for it posted... maybe someone here knows how to get the IMG code to actually show the pics...

SnappedAgain
01-08-2006, 01:35 AM
Yeah - I have a problem with the IMG BB code showing a link and not the actual pic... since 3.5.x... I beleive this is an ongoing issue at vBulletin.com... I have yet to see a cause for it posted... maybe someone here knows how to get the IMG code to actually show the pics...

hmmm that sounds like a seprate issue from what im describing here. im actually intrested in using thumbs when using the IMG function.

Borgs8472
01-08-2006, 10:14 AM
If you don't mind the thumbnail actually being the whole pic then resized, then you can use this bbcode:
<a href="{param}" target="_blank"><img src="{param}" width=150 height=150 border="0" alt="thumbnail picture, click for full size"></a>
That will force the pic into a 150x150 square. It will take as long to load as the full image however.

There is a way of specifying just the width or height and keeping the aspect ratio, I can't remember it off-hand.

You could replace one of the the 150's with {option} if you want more user control to maintain proportions for instance, however if the user enters a very high number, it can easily screw up your forums so is a kinda security risk.

Enable the multiple options in bbcodes hack that's about if you want options for both height and width.

SnappedAgain
01-08-2006, 04:45 PM
If you don't mind the thumbnail actually being the whole pic then resized, then you can use this bbcode:
<a href="{param}" target="_blank"><img src="{param}" width=150 height=150 border="0" alt="thumbnail picture, click for full size"></a>
That will force the pic into a 150x150 square. It will take as long to load as the full image however.

There is a way of specifying just the width or height and keeping the aspect ratio, I can't remember it off-hand.

You could replace one of the the 150's with {option} if you want more user control to maintain proportions for instance, however if the user enters a very high number, it can easily screw up your forums so is a kinda security risk.

Enable the multiple options in bbcodes hack that's about if you want options for both height and width.

HTML has to be enabled for that to work correct? Other than that it works great. Like you said it could be a security risk though. :ermm: I wonder if there is a way to do this with the IMG tag. like https://vborg.vbsupport.ru/