I installed this hack with sucess on my test platform but have run into a problem with a previous hack I have installed that was directly impacted when I modified the postbit_attachment template. I had the "Attached Image will be smaller" hack (
https://vborg.vbsupport.ru/showthrea...091#post442091) installed and would like to still retain it if possible and hope that someone can take a look and see what I am missing.
The problem is that both hacks I have to modify the postbit_attachment template and mix of the 2 codes dont play well. Not knowing enough of what I am looking at to figure out what is wrong, I can get it to a point where it still thumbnails the pictures, and lets me do the multiple image attachments, but all the links (as well as a signature) for the larger picture all point back to the 1st picture in the post.
Any ideas?
Here is the code I have mashed together so far:
*******
<p><smallfont>$post[username] has attached this image:<br>
<a href="attachment.php?=$session[sessionhash]&postid=$post[postid]" target="_blank">
<img src="attachment.php?s=$session[sessionhash]&attachmentid=$value[attachmentid]" border="0" alt="" width="150" vspace="8" hspace="4">
</smallfont></p>
*******
Thanks in advance. I also posted in the other hack thread to see if that author could offer any insight as well before I take it to my live site.
Chris