Loading...
 
Features / Usability

Features / Usability


Re: Text wrap around images

posts: 957

> Hi, I'm trying to get some text to wrap around an image on a tikiwiki page. I told it to align to the right side of the page, but the text doesn't go around it like i'm trying to get it to. Is there a way to make it do this? if you want to see what i'm talking about, the page is here.

Hi Steyr:

First of all, notice that currently you are allowing anonymous users to edit your homepage (is that what you intended?). Check documentation for permissions, groups, etc., if needed.

Second, I understand that the "desc=" param from img code/plugin is what it should be used for what your are looking for, but it still doesn't allow spaces on the desc field.

Copy to clipboard
{img src=http://example.com/foo.jpg width=200 height=100 align=center link=http://www.yahoo.com desc=foo} displays an image height width desc link and align are optional


See:

Copy to clipboard
{img src=http://wiki.thelys.org/tiki-download_wiki_attachment.php?attId=4 width=200 align=center desc=The_noble_night_Aegir_Brondolf...}

which produces:

The_noble_night_Aegir_Brondolf...
The_noble_night_Aegir_Brondolf...


but this:

Copy to clipboard
{img src=http://wiki.thelys.org/tiki-download_wiki_attachment.php?attId=4 width=200 align=center desc=The noble night Aegir Brondolf...}

which produces:

The noble night Aegir Brondolf...
The noble night Aegir Brondolf...


However, there some trick to do something similar to what you are looking for, I guess, which is made with the SPLIT plugin. Thus, if you write:

Copy to clipboard
{SPLIT()} --- {img src=http://wiki.thelys.org/tiki-download_wiki_attachment.php?attId=4 width=95% align=center} The noble night Aegir Brondolf had fallen. For many years his grand castle has remained un-claimed. Are you ready to claim it for your own? This spacious castle is located off the north-east coast of Solstheim. The castle itself offers many living and exploratory areas, including:... {SPLIT}


you'll get:

Image

The noble night Aegir Brondolf had fallen. For many years his grand castle has remained un-claimed. Are you ready to claim it for your own? This spacious castle is located off the north-east coast of Solstheim. The castle itself offers many living and exploratory areas, including:...


You'll have to play with the plugin SPLIT:

Copy to clipboard
SPLIT Split a page into rows and columns: {SPLIT(joincols=>[y|n|0|1],fixedsize=>[y|n|0|1])}row1col1---row1col2@@@row2col1---row2col2{SPLIT}


I hope it helps...smile
Xavi

P.S. There is something strange with forum page preview and cache size of windows (due to size of images in previous forum post previews), by the way....

There are no comments at this time.

Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting