[Zope] dtml-var question regarding images

Meilicke, Scott scott.meilicke@intp.com
Thu, 18 Oct 2001 11:53:00 -0700


OK, now I'm curious.

I know something like <dtml-var "_('Images.ZacmeLogo.gif')"> should work,
but that doesn't work for me.  What am I missing?

-Scott

-----Original Message-----
From: Trevor Toenjes [mailto:zope@toenjes.com]
Sent: Thursday, October 18, 2001 11:36 AM
To: Laurie Nason; Jerry Lake; zope@zope.org
Subject: RE: [Zope] dtml-var question regarding images


> <dtml-var "Images.ZacmeLogo">
So how do you make it work if Zamelogo is Zacmelogo.gif?  (so you can ftp
bulk graphics into a folder and maintain the extension for external file
access and Zope access)
     <dtml-var "Images.ZacmeLogo.gif">  This doesnt work...
-Trevor



> Welcome to the zope community!
>
> What you are looking for is
>
> <dtml-var "Images.ZacmeLogo">
>
> hth
>
> Laurie
> PS If you want to do fancy things with it have a look at the tag
> property of
> images
>
> -----Original Message-----
> From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Jerry
> Lake
> Sent: Thursday, October 18, 2001 1:08 PM
> To: zope@zope.org
> Subject: [Zope] dtml-var question regarding images
>
>
> I'm just learning Zope, I apologize
> if this is a FAQ. I've created a folder
> "ZAcme" from the tutorial and in that
> I created an images folder for my personal
> organization, how can I call the logo
> image I put in the images folder via a dtml-var
> when the folder is below the root ?
> <dtml-var Images/ZAcmeLogo> does not seem to work
> whereas I can call it via an <img> tag
> <img src=Images/ZAcmeLogo> just fine.
>
> this is nothing major, but
> any thoughts on this are appreciated
>
> Regards,
>
> Jerry Lake
> Interface Engineering Technician
>
> _______________________________________________
> 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 )
>
>
> _______________________________________________
> 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 )


_______________________________________________
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 )