[Zope] get an image path - not a image HTML tag
Pierre-Julien Grizel
grizel@mouli.net
Wed, 10 Oct 2001 10:30:17 +0200 (CEST)
Just do <INPUT SRC="<dtml-var "OK_Button.absolute_url()">" ....>
absolute_url() is a method you can invoke on many Zope objects to get an
absolute path from its actual location.
Regards,
P.-J.
> Hello list,
>
> I want to do a form submit with an image.
>
> I do: <INPUT SRC="<dtml-var OK_Button>" BORDER="0" TYPE="image"
> VALUE="Submit" NAME="OK">
>
> But Zope gives me :
> <INPUT SRC=" <img src="http://bc-apps:8080/login/images/OK_Button"
> alt="OK Knopf" height="25" width="70" border="0" />" BORDER="0"
> TYPE="image" VALUE="Submit" NAME="OK">
>
> Is it possible to get the path of an image in ZOPE without creating a
> HTML image tag ?
>
> Thanks in advance
>
> Florian Schuler
>
> _______________________________________________
> 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 )