Additional Info
Type
Package ID
TGB:Image_Thumb_Tag
First Created
May 29, 2008, 03:28:17 AM
Last Updated
April 19, 2011, 10:44:58 PM

Image Thumb Tag v1.3

javascript image thumb tag bbc
Compatible With 1.1.5, 1.1.11, 1.1.13, 2.0 RC5
Latest version v1.3
Downloads 36,216
Reviews 0
Rating 0/5
Subscribers 1
License (View License)
Author(s)
Image Thumb Tag 1.3 - TGB



Intro
Uses javascript to allow you a clickable thumbnail preview, click the thumbnail and you will see the large image explode before your eyes.

Install
This should (most of the time) Install automatically on the default theme and will work on any others without their own Post.template.php

Manually installing on your theme:

  • Place the thumb.gif in the "Themes/*theme*/images/bbc/" for all themes you want to use this with.
  • A single manual edit is required for all themes with their own Post.template.php

Open Themes/*theme*/Post.template.php, and FIND:
$context['bbc_tags'][] = array(
'flash' => array('code' => 'flash', 'before' => '[flash=200,200]', 'after' => '[/flash]', 'description' => $txt[433]),

ADD AFTER:

'thumb' => array('code' => 'thumb', 'before' => '[thumb]', 'after' => '[/thumb]', 'description' => $txt['thumb']),


Usage
This bbcode tag is used just as if it were the img tag, only it will be way cooler  :P.


[thumb]http://yoursite.cOm/image.png[/thumb]


Support
Check in this mods thread, do not pm me you will be ignored.

Changelog
1.3

  • Updated to work with SMF 2.0, yay
1.2

  • fixed the description error
1.1

  • alt attribute added, required by XHTML specification
  • strings are now in the language files
1.0

  • nothin here yet  8)

DEMO:  http://dchaven.com/forum/index.php?topic=15748
Manual installation info
You have to register or login to be able to leave a review
There are currently no reviews on this customization
Advertisement: