[pmwiki-users] relative path for images
Patrick R. Michaud
pmichaud at pobox.com
Fri Jul 8 09:24:17 CDT 2005
On Fri, Jul 08, 2005 at 04:11:16PM +0200, Christophe David wrote:
>
> Is it possible to show an image in a wiki page with a relative path ?
>
> Instead of http://www.pmwiki.org/pmwiki/pub/skins/pmwiki/pmwiki-32.gif ,
> I would like to say "images/pmwiki-32.gif"
Try using InterMap links (http://www.pmwiki.org/wiki/PmWiki/CustomInterMap).
If you place the following line in local/localmap.txt (create
localmap.txt if needed):
Images /pmwiki/pub/skins/pmwiki/
then you can use the following markup to get to the image
Images:pmwiki-32.gif
The resulting HTML output will be
<img src="/pmwiki/pub/skins/pmwiki/pmwiki-32.gif" />
Pm
More information about the pmwiki-users
mailing list