Helpful Information
 
 
Category: vBadvanced CMPS
How to : wrap text around an image... within the news section

Hello all.
I intend to install VBadvanced and I'm trying to find a way to make it so the text is wrapped around the image, in the news section of the frontpage.

I guess I have to find a way to do this within the posts (in the NEWS forum) where the news come from, right?

I've seen that at a site.

Here is a screenie where the text is wrapped around the right side of the image :

http://www.synthpopavenue.gr/bbsscreen1.jpg

Whereas here is a screenie where the text is under the image... (the default situation where the text is restricted above or below the image we post):

http://www.synthpopavenue.gr/bbsscreen2.jpg

I need to find a way to succeed in doing the first one - wrapping the text around the whole right side of the image.... Do I do it by enabling HTML at the forum where the news come from? And how?

thanx in advance :)

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:
<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
$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'] . '&amp;stc=1&amp;thumb=1" /></a>';

with
$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'] . '&amp;stc=1&amp;thumb=1" /></a>';










privacy (GDPR)