[Zope] using a method as the img name
Jeffrey Robinson
Jeffrey.Robinson@MCICoach.com
Mon, 29 Oct 2001 08:09:01 -0600
Hi Trevor;
I find the easiest way to do this is to use relative URLs on your Zope
server, using <img src="images/header.gif"> instead of the absolute path.
(This way you can reference it from almost anywhere in your site and let
acquisition do the work for you).
Jeff
> -----Original Message-----
> From: Trevor Toenjes [SMTP:zope@toenjes.com]
> Sent: Sunday, October 28, 2001 3:03 PM
> To: zope@zope.org
> Subject: [Zope] using a method as the img name
>
> I created a method/document called header.gif that will be called from a
> remote, non-zope server.
>
> just calling the URL http://zope/images/header.gif renders the Method and
> variable image correctly.
> However, including <img src="http://zope/images/header.gif"> in the remote
> HTML page does not.
> Why doesnt this just act like a Zope object and render the img?
> What is the solution?
>
> TIA,
> Trevor
>
>
> _______________________________________________
> 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 )