[pmwiki-users] Re: Using relative links and images in url markup

Patrick R. Michaud pmichaud at pobox.com
Thu May 19 05:30:10 CDT 2005


On Thu, May 19, 2005 at 09:46:33AM +0000, Anno wrote:
> Radu <radu <at> monicsoft.net> writes:
> 
> > Oh, I see. Well, then if you have all the images in the same spot, you 
> > could use
> > http://www.pmwiki.org/wiki/PmWiki/InterMap
> > 
> > for example you could add
> > Rel    http://link.to/where/the/relative/root/is/
> 
> 
> Excellent, that did the trick, thank you!

Indeed, I've found that placing

    Rel       /

in the local/localmap.txt file is quite handy.  Links of the form

    [[Rel:something.jpg]]

then become <a href='/something.jpg'> ...

Do we still need/want the [[/something.jpg]] form?

Pm



More information about the pmwiki-users mailing list