[Zope] image resources

Rob Page rob.page@digicool.com
Sat, 29 May 1999 18:15:50 -0400


> In article <4.1.19990529132727.0098d4b0@mail.atmm.nl>, Martijn Pieters
> <mj@antraciet.nl> writes
> >> Just wondering if there is a tag/variable that allows us to define
> >> a url or image so that I can do this:
> >> 
> >> <!--#var myimage-->
> >>
> >> produces
> >>
> >> <a href=http://distant_url><img 
> >> src=http://www.distant_url.com/images/their_image.jpg width=100 
> >> height=40 alt="Their picture off their server"></a>
> >
> >Just saying <!--#var myimage--> already gets you the whole 
> imagetah as
> >described above. You'd only have to put the A tag around it 
> yourself, like so:
> 
> Doesn't seem to on my system.  Zope seems to require that the image be
> local.

Yes, Zope wants the image to be local.  Of course, you could define a
Property of the top-level folder called (for example) pDistantLogo and
then use <IMG SRC="<!--#var pDistantLogo-->"> or something.
 
--Rob