Hi, with ZOPE I can insert images via dtml-var image-object-name, but how to insert an image as: <input type=image src="..."> ??? Thanks in advance Kai Hofmann -- Institut für Seeverkehrswirtschaft und Logistik http://www.isl.org/ Dipl.-Inform. Kai Hofmann mailto:hofmann@isl.org Universitaetsallee GW1 Block A phone:+49 421 22096-83 D-28359 Bremen fax:+49 421 22096-55
Am Freitag, 6. April 2001 11:30 schrieben Sie:
Hi,
with ZOPE I can insert images via dtml-var image-object-name, but how to insert an image as:
<input type=image src="..."> ???
Thanks in advance
just like in standard HTML..... can you clearify your problem a little more? Jan -- Jan@MountainbikeHQ.de http://www.MountainbikeHQ.de - Your home for DH, DS and CC Mountainbiking
you'll lose some of the advantages of the .tag-method , but you can use : <input type="image" src="&dtml.url-image-object-name"> you'll get the absolute url inserted the correct place , but not the height and width-params.. :-( -- Geir Bækholt web-developer/designer geirh@funcom.com http://www.funcom.com on or about, Friday, April 06, 2001, we have reason to believe that Kai Hofmann wrote something in the lines of : KH> Hi, KH> with ZOPE I can insert images via dtml-var image-object-name, but how to KH> insert an image as: KH> <input type=image src="..."> ??? KH> Thanks in advance KH> Kai Hofmann
Geir BXkholt wrote:
you'll lose some of the advantages of the .tag-method , but you can use :
<input type="image" src="&dtml.url-image-object-name">
you'll get the absolute url inserted the correct place , but not the height and width-params..
:-(
<dtml-with imageobject> <input type="image" src="&dtml-absolute_url;" width="&dtml-width;">" height="&dtml-height;" alt="&dtml-alt;"> </dtml-with> HTH Tino
<input type="image" src="&dtml.url-image-object-name">
you'll get the absolute url inserted the correct place , but not the height and width-params..
:-( Is it possible to do something like that:
<input type="image" src="&dtml.url-image-object-name" width="&dtml.url- image-object-name.width" height="&dtml.url-image-object-name.height"> ???? Btw. what about the alt="" attribute of an image is this handled? If not - alt is required in xhtml and html 4.0 also it is good practice for disability webdesign! -- Institut für Seeverkehrswirtschaft und Logistik http://www.isl.org/ Dipl.-Inform. Kai Hofmann mailto:hofmann@isl.org Universitaetsallee GW1 Block A phone:+49 421 22096-83 D-28359 Bremen fax:+49 421 22096-55
Hi Kai, Kai Hofmann wrote:
<input type="image" src="&dtml.url-image-object-name">
you'll get the absolute url inserted the correct place , but not the height and width-params..
:-( Is it possible to do something like that:
<input type="image" src="&dtml.url-image-object-name" width="&dtml.url- image-object-name.width" height="&dtml.url-image-object-name.height">
????
Btw. what about the alt="" attribute of an image is this handled? If not - alt is required in xhtml and html 4.0 also it is good practice for disability webdesign!
The alt-attribute is mapped to the title-attribute of the image object. So just like with and height, alt is also available. Regards Tino
participants (4)
-
Geir B�kholt -
Jan Lentfer -
Kai Hofmann -
Tino Wildenhain