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

Dominique Faure dominique.faure.1 at free.fr
Sun May 22 06:48:20 CDT 2005


At Thursday, May 19, 2005 3:28 PM [GMT+1=CET], Patrick R. Michaud wrote:

> On Thu, May 19, 2005 at 09:11:33AM -0400, Radu wrote:
>> After I found about InterMap (like a month after I started playing with
>> pmwiki, to my shame), I never understood why people wanted the
>> [[/something.jpg]] form. InterMap is way more flexible, and it's already
>> there.
>
> Only because [[/something.jpg]] is fairly intuitive -- it's what people
> naturally expect to be able to use to create a (relative) link to a
> resource at the same server url.
>

IMHO, [[/something.jpg]] is not so intuitive since having a path beginning 
with a slash is the (only) way to specify absolute path (even for urls) --  
in this case we'd better talk about "local absolute links".

If you decide to make PmWiki handle such links, I would enjoy also *real* 
relative links aka.: [[./something.jpg]] where the reference directory (./) 
is the one containing pmwiki.php.

Cheers,
Dominique




More information about the pmwiki-users mailing list