use this in the
postbit_attachmentthumbnail template
HTML Code:
<if condition="$bbuserinfo[userid] == '0'"><else /><a href="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]"></if><img class="thumbnail" src="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&stc=1&thumb=1" border="0" alt="<phrase 1="$attachment[filename]" 2="$attachment[counter]" 3="$attachment[filesize]">$vbphrase[image_larger_version_x_y_z]</phrase>" /><if condition="$bbuserinfo[userid] == '0'"><else /></a></if>
<if condition="$show['br']"><br /><br /></if>
there other if conditions that you can use! but thats what I use! also theres hack like this if you do a search!
this however doesnt stop people from making a manual link to the image to view a larger version! e.g.
http://www.hardwareforums.com/showthread.php?t=2267
I hope this helps!