Loading...
 
Features / Usability

Features / Usability


Re: img link tikiwiki internal

posts: 3665 United States

Use the link= attribute. See the docs for full details.

HTH,

-Rick

> Hi all,
> I found how to create an image linked to an external link, i.e.:
>
> {img src=show_image.php?name=myimage.jpg width=200 height=200 alt="My Image" link="http://example.com"}
>
> or
>
> [http://example.com|{img src=show_image.php?name=myImage2.jpg width=200 height=200 alt="my image 2"}]
>
> these methods both work fine.
>
> But I would like to link these images to internal tikiwiki pages, let's say something i could do
> ((My Page To Link))
> if they were "ordinary link" and not "image link"
>
> Simmetrically to
>
> ((My Page To Link | Hello))
> I also tried:
> ((My Page To Link | |{img src=show_image.php?name=myImage2.jpg width=200 height=200 alt="my image 2"}))
>
> but it doesn't work, and I can imagine further problems becouse I would like to arrange these linked-images into a table, so to use the | could produce unwonted behaviour..
>
> How can I do this ?
>
> Thanks in advance,
>
> Andrea
>
> p.s.
> to clarify my need:
>
> a table containing let's say 2 rows and two cols
> in each cell an image linking to an internal tikiwiki page
>
>

There are no comments at this time.