vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How to make my forum do this with pictures? (https://vborg.vbsupport.ru/showthread.php?t=102772)

SnappedAgain 12-12-2005 06:50 AM

How to make my forum do this with pictures?
 
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 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

1 Attachment(s)
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

Quote:

Originally Posted by Warrior
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:
Code:

<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

Quote:

Originally Posted by Borgs8472
If you don't mind the thumbnail actually being the whole pic then resized, then you can use this bbcode:
Code:

<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/


All times are GMT. The time now is 12:17 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01015 seconds
  • Memory Usage 1,733KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete