Since I hate the fact that images can ruin the layout of a Forum + that while loading, the whole layout can shift about, I've created this custom tag which will display an image thumbnail (browser-resized) and links it to a large popup for that image. I was asked to share it here.
There's two parts to this. First download this:
www.straydesign.com/customers/misc/ubb-imagepopup.zipUpload the enclosed PHP file into your root 'forum' folder. It does not need editing.
Then in control panel, go to 'content rebuilder' and add a new 'custom tag'
Enabled = yes
Show in meny = probably yes
Custom tag = imgpop
Menu description = Image popper
User prompt hint = Enter full image URL.
Matching regex = (.+?)
Resulting markup =
<a href="http://www.fccuk.org/forum/imagepopup.php?image=\\1" onclick="window.open('http://www.YOURSERVER.COM/FORUM/imagepopup.php?image=\\1', 'imagepopup', 'toolbar=no,scrollbars=no,width=300,height=300'); return false;"><img src="\\1" style="border: 1px solid black; padding: 5px;" height="60" vspace="5" alt="click to enlarge"></a>
Where you would replace "YOURSERVER.COM/FORUM" with your own URL. (In here it would be "ubbcentral.com/forums".)
Use it on your Forum by using the Media button in your post/edit box. Or do:
[imgpop]full url to my image[/imgpop]
I'm just fully testing this as we speak, it should work quite well, but I'll update when there's something annoying that needs a fix.
If you need a demo link, just go here:
http://www.fccuk.org/forum/ubbthreads.php?ubb=showflat&Number=770874#Post770874