On Wednesday 08 August 2007, Ben Stallings wrote: > Hello again. I'm trying to do something that ought to be simple, but > I'm not sure how to go about it... > > I'm writing a pagelist template and want to display an image whose name > matches the name of the listed page if that image exists, and not > display anything at all if the image doesn't exist. But > Attach:{=$Name}.jpg and (:thumb {=$Name}.jpg:) both display an upload > link if the file doesn't exist.
>From version ThumbList-2007-08-19 and newer, there is a new parameter quiet=3 which will suppresses warnings and Attach links: (:thumb "{=$Name}.jpg" quiet=3:) Check out the documentation for more information. Petko _______________________________________________ pmwiki-users mailing list pmwiki-users@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-users