Page 1 of 1

Thumbnail BBCode with Popup

Posted: 06 Mar 2010, 10:24
by BBCode Bot
Thumbnail BBCode with Popup

Author: djgalix
Description: Open a popup to view your full size image
You can specify the size of popup and other parameters...
Image

BBCode:

Code: Select all

[ThumbnailPop]{URL}[/ThumbnailPop]
HTML:

Code: Select all

<a href="javascript:void(0)" onclick="window.open('{URL}', 'MyPopUp',  'width=500,height=500,resize=1,toolbar=0,scrollbars=1,screenX=200,screenY=200,left=200,top=200')"><img style="max-width:250px; max-height; 250px;" src="{URL}" alt="Image" /></a>
Helpline:

Code: Select all

[ThumbnailPop]Url of Image[/ThumbnailPop]
Example:

Code: Select all

[ThumbnailPop]http://img421.imageshack.us/img421/7193/icon0325pr.jpg[/ThumbnailPop]
Demo:
[thumbnailpop]styles/prosilver/imageset/site_logo.png[/thumbnailpop]