TinyPortal

Development => Support => Topic started by: Olive on July 10, 2006, 02:55:39 PM

Title: How to put text around images in posts?
Post by: Olive on July 10, 2006, 02:55:39 PM
Hi everybody,

I've been trying to write some text around an image in my posts but i can't seem to get it work.

Is there an easy way or any way to do tis?

I've seen several sites doing that and i would really want to use this for my site.  :)

Thanks in advance.
Title: Re: How to put text around images in posts?
Post by: IchBin on July 10, 2006, 03:04:49 PM
If your an administrator you can add all your text and images in HTML in your post.
Title: Re: How to put text around images in posts?
Post by: Olive on July 10, 2006, 03:13:02 PM
Hi thank you for your quick replay  :)

Yes i am an administrator but i don't know much about html  :-\
So can i for example: write everything(image and text) in an article and then just copy the html code in to the post?
Title: Re: How to put text around images in posts?
Post by: IchBin on July 10, 2006, 03:13:55 PM
That would probably work. Give it a try! :)
Title: Re: How to put text around images in posts?
Post by: Olive on July 10, 2006, 03:49:47 PM
Nope that didn't work or i must have done something wrong  :)

It looks fine in the article but not in the forum posts.
This is how it looks in forum:
<IMG style="BORDER-RIGHT: 2px; BORDER-TOP: 2px; MARGIN: 2px; BORDER-LEFT: 2px; BORDER-BOTTOM: 2px" alt=766 src="http://127.0.0.1/smf/766.jpg" align=left>text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text text

Any idea what i can do about it? I enabled basic HTML in posts.
Title: Re: How to put text around images in posts?
Post by: Olive on July 10, 2006, 05:25:56 PM
I got it working with bbc  :)

I used this code:
[table][tr][td][img]http://img357.imageshack.us/img357/4145/avatar19159eh.gif[/img][/td][td]test text test text test text test text[br]test text test text test text test text[br]test text test text test text test text[br]test text test text test text test text[br]test text test text test text test text[br]test text test text test text test text[/td][/tr][tr][td]test text test text[/td][td] test text test text test text test text[/td][/tr][/table]

and i got this:  ;D

(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fimg357.imageshack.us%2Fimg357%2F4145%2Favatar19159eh.gif&hash=5749b28270139ec44531709e25b7e28185b37d99)test text test text test text test text
test text test text test text test text
test text test text test text test text
test text test text test text test text
test text test text test text test text
test text test text test text test text
test text test text test text test text test text test text
Title: Re: How to put text around images in posts?
Post by: IchBin on July 10, 2006, 05:37:04 PM
There you go. Nice job!
Title: Re: How to put text around images in posts?
Post by: anunlike on July 10, 2006, 07:19:18 PM
Quote from: IchBinâââ,¬Å¾Ã,¢ on July 10, 2006, 05:37:04 PMThere you go. Nice job!

Yes, and by using BBCode, all your members can do it, as opposed to using HTML, which only the admin can really use.
Title: Re: How to put text around images in posts?
Post by: agridoc on July 10, 2006, 10:48:37 PM
Nice for all members. Some forum software have this option in BBC.

Admin' s HTML Olive was introduced with SMF 1.1 (not working in 1.0x) and needs HTML code to be inserted between these tags.
[HTML][/HTML]

Try this in YOUR site, works only for administrators.
[HTML]<IMG SRC="http://img357.imageshack.us/img357/4145/avatar19159eh.gif" BORDER="0" VSPACE="0" HSPACE="5" ALIGN="left" ALT="An image">
Line 1<BR>
Line 2<BR>
Line 3<BR>
Line 4<BR>
Line 5<BR>
Line 6<BR>
Line 7<BR>[/HTML]


You can put even javascripts inside these tags.
Title: Re: How to put text around images in posts?
Post by: stigmartyr on July 10, 2006, 11:03:48 PM
wow - Id never known that I had the power of [ H T M L ]
Title: Re: How to put text around images in posts?
Post by: Assistance on August 06, 2006, 01:36:22 PM
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fimg146.imageshack.us%2Fimg146%2F8826%2Ffaileddz2.gif&hash=cbaa3354641e8f557edd2728d4bd0e4001495744)

?? I am an admins
Title: Re: How to put text around images in posts?
Post by: agridoc on August 06, 2006, 02:05:40 PM
Quote from: Assistance on August 06, 2006, 01:36:22 PM?? I am an admins

Looks like Babylon in 1.0x. HTML BBC tag works ONLY in 1.1Ã,  ;)
Title: Re: How to put text around images in posts?
Post by: Assistance on August 06, 2006, 02:33:00 PM
sorry

dunno how I missed that
Title: Re: How to put text around images in posts?
Post by: Xarcell on August 07, 2006, 10:12:33 AM
If your using an html block, there is no need to use the bbc html tags.
Title: Re: How to put text around images in posts?
Post by: agridoc on August 07, 2006, 10:01:31 PM
Sure Xarcell, the original question is about forum posts (SMF question), not blocks or articles.  ;)