Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 12-12-2005, 06:50 AM
SnappedAgain SnappedAgain is offline
 
Join Date: Aug 2004
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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 into thumbnails just as they have done on THIS SITE HERE Is this done via the GD library?

thanks in advance
Reply With Quote
  #2  
Old 12-12-2005, 07:04 AM
Valter Valter is offline
 
Join Date: Aug 2005
Location: Sarajevo
Posts: 2,432
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Forum requires registration. Post screenshots.
Reply With Quote
  #3  
Old 01-07-2006, 04:05 AM
SnappedAgain SnappedAgain is offline
 
Join Date: Aug 2004
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Attached Images
File Type: jpg thumbs.jpg (174.2 KB, 0 views)
Reply With Quote
  #4  
Old 01-07-2006, 05:31 AM
apfparadise apfparadise is offline
 
Join Date: Jan 2005
Location: Northridge CA
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 01-07-2006, 06:20 PM
SnappedAgain SnappedAgain is offline
 
Join Date: Aug 2004
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 function.

any ideas?

thanks
Reply With Quote
  #6  
Old 01-07-2006, 06:53 PM
Warrior's Avatar
Warrior Warrior is offline
 
Join Date: May 2002
Posts: 102
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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...
Reply With Quote
  #7  
Old 01-08-2006, 01:35 AM
SnappedAgain SnappedAgain is offline
 
Join Date: Aug 2004
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 01-08-2006, 10:14 AM
Borgs8472 Borgs8472 is offline
 
Join Date: Apr 2004
Posts: 924
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #9  
Old 01-08-2006, 04:45 PM
SnappedAgain SnappedAgain is offline
 
Join Date: Aug 2004
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:51 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.06579 seconds
  • Memory Usage 2,260KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (1)postbit_attachment
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete