Could someone please tell me how to upload a background image using DTML. I tried the following <body bgcolor="#FFFFFF" background=<dtml-var bgImage> > but it does not work. Any other image works fine though thanks Sunit
At 20:33 5-11-99 , Joshi, Sunit wrote:
Could someone please tell me how to upload a background image using DTML. I tried the following <body bgcolor="#FFFFFF" background=<dtml-var bgImage> > but it does not work. Any other image works fine though
The background parameter needs a URL, not an IMG tag as is normally generated: background="<dtml-var "bgImage.absolute_url()" or, in the upcoming version 2.1.0: background="&dtml.url-bgImage;" -- Martijn Pieters, Web Developer | Antraciet http://www.antraciet.nl | T: +31 35 7502100 F: +31 35 7502111 | mj@antraciet.nl http://www.antraciet.nl/~mj | PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149 ---------------------------------------------
I just found ZOPE yesterday (that's how new I am to the concept of ZOPE). I am trying to find some info on how is it possible to connect ASE with zope? Also, what would be the best start to find out about simple staff like submitting data via forms to ASE using ZOPE generated pages? Also passing variables from page to page? I am coming from ISAPI world where it is easy to accomplish this in ISAPI dlls but I can't find my way around ZOPE?? Thanks
Sunit, I have a feeling that <dtml-var bgImage> is inserting <img src="your image name here.gif"> where you probably want just "your name here" maybe try either background=<dtml-var NameOFIMage> where NameOFImage is some folder prop w/ the name of your image or try background=<dtml-var "bgImage.absolute_url()"> hope this helps -s On Fri, 5 Nov 1999, Joshi, Sunit wrote:
Could someone please tell me how to upload a background image using DTML. I tried the following <body bgcolor="#FFFFFF" background=<dtml-var bgImage> > but it does not work. Any other image works fine though
thanks Sunit
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope No cross posts or HTML encoding! (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (4)
-
Joshi, Sunit -
Martijn Pieters -
Paul R -
scott kaplan