I want to add the centred image, I've only added the basic integration and the optional "attachments" page addition - no file edits parts of the script.
is this the only place I need to amend the code and is this correct?
Step 7 Edit postbit_attachmentthumbnail template
Code:
<a id="att_$attachment[attachmentid]" class="highslide" onclick="return hs.expand(this, { slideshowGroup: '$post[postid]' , align: 'center' })" href="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&d=$attachment[dateline]"<if condition="$show['newwindow']"> target="_blank"</if>><img class="thumbnail" src="attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&stc=1&thumb=1&d=$attachment[thumbnail_dateline]" border="0" alt="<phrase 1="$attachment[filename]" 2="$attachment[counter]" 3="$attachment[filesize]" 4="$attachment[attachmentid]">$vbphrase[image_larger_version_x_y_z]</phrase>" /></a>, align: 'center'
I've hasd one user attach an image file using the
tags and the image opens in a new window not using highslide, I don't know why that has happened.