[pmwiki-users] onerror in pmwiki

Patrick R. Michaud pmichaud at pobox.com
Thu Sep 7 19:56:20 CDT 2006


On Thu, Sep 07, 2006 at 04:50:51PM +0100, Hans wrote:
> Thursday, September 7, 2006, 3:56:23 PM, Patrick wrote:
> 
> >> Can I do this in pmwiki too? Show some picture and if this is not
> >> available show another picture?
> 
> > There's not a built-in markup that would do it, no.
> > Interesting approach, however.
> 
> We don't have a (:if fileexists ... :) condition?
> Would it be difficult to create one?

Well, images are normally specified by url, as opposed to
the existence of files.  PmWiki doesn't always have a good way
to recognize the existence of a url.

Pm




More information about the pmwiki-users mailing list