[Zope] input images?

Tino Wildenhain tino@wildenhain.de
Sat, 07 Apr 2001 12:57:37 +0200


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