[Pmwiki-users] how to add a *link* to a graphic, not the graphic itself?

Patrick R. Michaud pmichaud
Sat Oct 16 07:02:18 CDT 2004


On Sat, Oct 16, 2004 at 08:44:15AM -0400, Robert P. J. Day wrote:
> 
>   reading this page:
> http://localhost/pmwiki/pmwiki.php/PmWiki/ImagesInWikiPages
> 
> it's not clear how i would add just a URL to a graphic, and not insert
> the actual graphic itself.  as i read it, if i have a URL that ends
> in, say, .gif, then pmwiki will place the image inside the page.

Yes.

> but if it's a sizable image, i may want to have people have to click
> through to the image.  how does one do that?  am i just missing the
> explanation on that page?

In PmWiki 2, just put double-brackets around the URL:

    http://www.pmichaud.com/toast/ptart-1c.gif       <-- embedded image
    [[http://www.pmichaud.com/toast/ptart-1c.gif]]   <-- link to image

In PmWiki 1, just specify a different link text for the URL:

    [[http://www.pmichaud.com/toast/ptart-1c.gif ptart-1c.gif]]

Pm



More information about the pmwiki-users mailing list