[Zope] Re: transparent gifs

Chris Beaumont cbeaumon@msri.org
Thu, 3 Oct 2002 13:27:54 -0700


Danny,

Can you compare the byte count of the two gifs? I doubt if Zope is 
changing the spacer.gif binary file, which is what you imply. The 
browser renders an image..Zope should merely serve it (with the correct 
mime-type specified in the HTTP header)

A comparison would answer that question.

-Chris


On Thursday, October 3, 2002, at 01:24 PM, Danny Morgan wrote:

> I've been attempting to use a 'spacer.gif' but run into problems with 
> Zope's rendering of it.
>
> Specifically, the space that should be transparent is instead gray. 
> When viewed from the ZMI, it is transparent. When called from a page 
> template, as with the following code, it is not. Likewise, it is gray 
> when called from the web directly.
>
>                <img src="spacer_gif"
>                     width="30"
>                     tal:attributes="src 
> here/images/spacer_gif/absolute_url" >
>
>                http://localhost:8080/images/spacer_gif
>
> Thanks for reading,
>
> Danny
>
>
>
>