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

Robert P. J. Day rpjday
Sat Oct 16 07:17:26 CDT 2004


On Sat, 16 Oct 2004, Patrick R. Michaud wrote:

> 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

ah, sorry, i just now saw the line i must have glossed over the first
time:

"Images may be specified as the target of a link using the double
brackets markup by specifying an image URL as the text for a link..."

apologies.

rday



More information about the pmwiki-users mailing list