[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

Re: New WML features for gif generation (patch)

On Wed, 20 Oct 1999, Thomas Akin wrote:

> 	If I put the following line in home.wml
> 	<imgdot base="images"> 
> 	a gif was created called "images/.imgdot-1x1-trans.gif". We
> 	have lost our per file uniqueness. I then started using
> 	<imgdot base="images/home">
> 	which created the gif with the right name, but now I have to
> 	specify a base name for every gif that is created. I have lost
> 	the automatic naming feature. Dealing with this gets
> 	especially annoying when using templates...

Hi again,

did you try to define
   <set-var IMGDOT_BASE="images/<get-var WML_SRC_BASENAME>">
   <set-var BGIMG_BASE="images/<get-var WML_SRC_BASENAME>">
in your templates?

I believe it is what you want.

Denis Barbier
WML Maintainer

Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com