[pmwiki-users] link on pictures in div's

Chris Cox ccox at airmail.net
Mon Aug 15 14:31:52 CDT 2005


Stephan Schildberg wrote:
> Hello,
> 
> I know how to set links on pictures with the 'ordinary pmwiki' markup
> but here I use div's.
> I want to set relative paths instead of absolute paths because I develop
> on a dock-website and intend to swap it to the producing url later.
> 
> 
> This is what I use now:
> 
> (:div id='floating1' name='floating1' :)
> [[Main/Topic _A | http://www.example.com/wiki/uploads/pictures/icon_A.jpg]]
> (:divend:)
> 
> 
> That is what it should do:
> 
> (:div id='floating1' name='floating1' :)
> [[Main/Topic _A | ../../uploads/pictures/icon_A.jpg]]
> (:divend:)

[[Main/Topic _A | Attach:Pictures/icon_A.jpg]]

Assuming that uploads is the PmWiki uploads dir and pictures
is a wiki group :)

Would that work for you?




More information about the pmwiki-users mailing list