Well on this site the image is the user avatar. On my site I use the attachment feature for my images. I just did this:
Code:
<if condition="$news['attachmentid']">
<tr>
<td align="justify" width="100%" valign="top" class="smallfont">
$attachment $news[message]
</td>
</tr>
And in modules/news.php I replaced
Code:
$attachment = '<a href="' . $vboptions['bburl'] . '/attachment.php?' . $session['sessionurl'] . 'attachmentid=' . $news['attachmentid'] . '" target="_blank"><img border="0" src="' . $vboptions['bburl'] . '/attachment.php?' . $session['sessionurl'] . 'attachmentid=' . $news['attachmentid'] . '&stc=1&thumb=1" /></a>';
with
Code:
$attachment = '<a href="' . $vboptions['bburl'] . '/attachment.php?' . $session['sessionurl'] . 'attachmentid=' . $news['attachmentid'] . '" target="_blank"><img align="left" vspace="3" hspace="3" border="0" src="' . $vboptions['bburl'] . '/attachment.php?' . $session['sessionurl'] . 'attachmentid=' . $news['attachmentid'] . '&stc=1&thumb=1" /></a>';