Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[BBCode] Thumbnails Details »»
[BBCode] Thumbnails
Version: 1.00, by Genjuro-Sensei Genjuro-Sensei is offline
Developer Last Online: Aug 2007 Show Printable Version Email this Page

Version: 3.6.3 Rating:
Released: 12-22-2006 Last Update: Never Installs: 53
Additional Files  
No support by the author.

Hello All !

Description:
This simple BBCode let you display an image in a thumbnail when clicking on it it open the original image in a new window, very usefull when making tutorials and it's nice looking too

Installation:

As always, Admin CP -> Custom BBCodes -> Add new BBCode
*Title: Thumbnail
*BBCode: tmb
*Code remplacement:
HTML Code:
<table cellspacing="0" cellpadding="0" align="center" style="background-color:#000000; border:1px #000000 solid; color:#ffffff; font-size:11px;">
  <tr>
	<td align="center"><a href="{param}" target="_new"><img src="{param}" border="0" alt="Thumbnail" title="Thumbnail" width="300" /></a><br />Click to view the original image</td>
  </tr>
</table>
*Example: [tmb]image_url[/tmb]
*Description: Displays an image as a thumbnail when clicking on it, it opens the original image in a new window.
*Use second parameter: No
*Button image:

Enjoy

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 03-22-2007, 05:17 PM
Triky's Avatar
Triky Triky is offline
 
Join Date: Mar 2007
Location: [Italy]
Posts: 728
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ep13 View Post
how do u get it so it puts them in align instead of middle.

so its like

[ ][ ][ ][ ]

instead of

[ ]
[ ]
[ ]
Quote:
Originally Posted by BadgerDog View Post
Is there way of "left" justifying the pics?

I put in "left" instead of "center" and it seemed to create an odd effect. I think for "left", it needs to have a carriage return at the end of each pic. How can I add that?

Thanks

Regards,
Badger
Try to remove the align="x".
Reply With Quote
  #13  
Old 03-22-2007, 05:28 PM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Triky View Post
Try to remove the align="x".
I changed align="left" to align=""

plus

I changed td align="center" to "td align="left"

It now works like a charm, at least in my testing...

I also set the width="200" from 300. If I go smaller it leaves a thick black margin on the right side of the thumbnail. I've been trying to figure out how to get the thumbnail pic much smaller, except leave the border even all way round...

Nice mod... :up:

Thank you...

Regards,
Badger
Reply With Quote
  #14  
Old 03-22-2007, 05:32 PM
Triky's Avatar
Triky Triky is offline
 
Join Date: Mar 2007
Location: [Italy]
Posts: 728
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BadgerDog View Post
I changed align="left" to align=""
It works becouse the browser recognize that property like uncomplete, and so it doesn't show it, it doesn't work.
So, you can completly remove it.
Reply With Quote
  #15  
Old 03-22-2007, 05:35 PM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Triky View Post
It works becouse the browser recognize that property like uncomplete, and so it doesn't show it, it doesn't work.
So, you can completly remove it.

Thanks again... it's a big help in our forum... :up:

Any quick way (I'm barely computer literate ) to get the thumbnails smaller, yet maintain an even black border all way round?

Regards,
Badger
Reply With Quote
  #16  
Old 03-23-2007, 11:20 AM
MAD555 MAD555 is offline
 
Join Date: Mar 2006
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<i>Really interesting...</i>
Reply With Quote
  #17  
Old 03-26-2007, 06:48 AM
Atakan KOC's Avatar
Atakan KOC Atakan KOC is offline
 
Join Date: Feb 2006
Location: Istanbul
Posts: 710
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks....
Reply With Quote
  #18  
Old 03-28-2007, 03:17 AM
rayw rayw is offline
 
Join Date: Mar 2007
Location: Australia
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks a lot for this, great idea!

I made a few small change to the HTML though.
Reply With Quote
  #19  
Old 03-28-2007, 05:15 AM
Zia's Avatar
Zia Zia is offline
 
Join Date: Dec 2005
Location: golpo.net
Posts: 931
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what about the image size?
Reply With Quote
  #20  
Old 03-28-2007, 07:55 AM
Triky's Avatar
Triky Triky is offline
 
Join Date: Mar 2007
Location: [Italy]
Posts: 728
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Zia, whay you mean, exactly?
Reply With Quote
  #21  
Old 03-29-2007, 11:39 AM
Triky's Avatar
Triky Triky is offline
 
Join Date: Mar 2007
Location: [Italy]
Posts: 728
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The problem is that if you put the tag lik this: [tmb]gg[/tmb] it show a bad non-image thumb. How could we solve this? Another problem.. if you put the [tmb] tag into a [code] box, it show always a non-image thumb. Arg!
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 07:46 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04839 seconds
  • Memory Usage 2,308KB
  • Queries Executed 25 (?)
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)bbcode_html
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete