Ok, here it is... but you have to catch me on IM or something for me to give you the code to do it, cuz if i give it to you here... it will just show the images again... or look below, i will try to replace things...
the code is much simpler than your code... below, the curly braces " { } " should be replaced with square braces " [ ] " Get it?
{URL="http://i156.photobucket.com/albums/t5/Stang849/DSC_1293Small.jpg"}{IMG}http://i156.photobucket.com/albums/t5/Stang849/th_DSC_1293Small.jpg{/IMG}{/URL}
{URL="http://i156.photobucket.com/albums/t5/Stang849/DSC_1297Small.jpg"}{IMG}http://i156.photobucket.com/albums/t5/Stang849/th_DSC_1297Small.jpg{/IMG}{/URL}
But honeslty, if you want to, you can just link to the fullsize images in the thread instead of thumbnailing them all... no need really.