Re: [Zope] Animated GIFs

2000-10-16 Thread Manuel Amador (Rudd-O)


correct me if i'm wrong, but the repeat attribute is IN the gif file.
that means zope is mangling the file.
try creating the image as a file changing its mimetype and referrring
it outside zope via an HTML page, to see if that's the case.

Lars Heber wrote:
Peter Bengtsson schrieb:
> [Just checking.]
> Have you tried to acctually _use_ the animated gif in context with
other HTML?
> I have experienced problem some single time with images (can't remember
what the problem/image was) viewed directly from the View management tab.
>
> Excuse the childish suggestion.
Any help is appreciated!!!
I tried your suggestion. The animGif works fine with every kind of HTML.
I really think it's a Zope problem.
Also the gif downloaded from Zope works with HTML outside Zope.
The following doesn't work as well:
Refer to the gif situated on your Zope server from a HTML file outside
Zope. - Same problem...
html>
head>title>the title/title>/head>
body>img src="http://localhost:8080/animGif">/body>
/html>
I also tried to name the animGif explicitely animGif.gif instead of
animGif - guessed what? - same problem!
Any more ideas, please?
Thanks.
Lars
> - Original Message -
> From: "Lars Heber" [EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]>
> Sent: Friday, October 06, 2000 3:24 PM
> Subject: [Zope] Animated GIFs
>
> > Hi there,
> >
> > I've got a strange problem.
> >
> > I want to upload an animated GIF to my Zope, but when I want to
view it,
> >
> > animation stops at the last frame instead of looping indefinitely.
> >
> > When not uploaded to Zope, the animation works fine,
> > also, when I download the GIF by rightclick from a Zope site and
view
> > it again outside Zope, it works perfectly!
> >
> > What's going on here??? Any ideas?
> >
> > PS.: The content_type is image/gif.
> > Do animGifs have
another one? Just an idea...
>
___
Zope maillist - [EMAIL PROTECTED]
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
)

--
Manuel Amador (Rudd-O)



RE: [Zope] Animated GIFs

2000-10-10 Thread Max Møller Rasmussen

From: Lars Heber [mailto:[EMAIL PROTECTED]]

Sorry, I think you misunderstood me!
I _don't_ want to stop the gif, but it does after the last frame! --
Now I tried the same Zope page in NS and IE, this phenomenon appears only
with
NS...

I did understand you, but I could not replicate your problem in IE. I didn't
try it in NS as I don't have it installed.

So I would say it most be a Netscape specific problem.

- Either it is because NS has some abscure bug if the file doesn't have a
.gif name with a dot, but as far as I remember you had allready tried that.

- Maybe Zope sends the wrong header that somehow makes NS foul up, but when
I send a request like this via telnet:

telnet localhost 8080
GET /test/ferierejser_banner_50aar.gif HTTP/1.0

I get this response, which looks fine.

HTTP/1.0 200 OK
Server: Zope/Zope 2.2.2 (binary release, python 1.5.2, win32-x86)
ZServer/1.1b1
Date: Tue, 10 Oct 2000 09:20:38 GMT
Connection: close
Content-Type: image/gif
Content-Length: 15341
Last-Modified: Tue, 10 Oct 2000 06:40:53 GMT

GIF89a\?i?áfHJèuÞ+«lòï ..
lots of Gif data

So I don't think it's a zope problem. Have you tried to save the gif you
receive and then open it again, if it loops then it is an interresting
problem.

My bet would be that it is a NS problem. Maybe try it out on antoher version
of NS

Regards

   Max M

___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] Animated GIFs

2000-10-10 Thread Lars Heber

Hello,
it's me again.

I found out what the matter of my problems was.

I tried the animGif on several other computers with different versions of NS,
on every of them it worked.

And here's the kicker: It also worked on another computer which had the same
version installed like me!

Therefore, something with my NS installation seems to be wrong!

Thanks to you all!

Lars


___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] Animated GIFs

2000-10-09 Thread Lars Heber

Peter Bengtsson schrieb:

 [Just checking.]
 Have you tried to acctually _use_ the animated gif in context with other HTML?
 I have experienced problem some single time with images (can't remember what the 
problem/image was) viewed directly from the View management tab.

 Excuse the childish suggestion.

Any help is appreciated!!!

I tried your suggestion. The animGif works fine with every kind of HTML.
I really think it's a Zope problem.
Also the gif downloaded from Zope works with HTML outside Zope.
The following doesn't work as well:
Refer to the gif situated on your Zope server from a HTML file outside Zope. - Same 
problem...

html
headtitlethe title/title/head
bodyimg src="http://localhost:8080/animGif"/body
/html

I also tried to name the animGif explicitely animGif.gif instead of animGif - guessed 
what? - same problem!

Any more ideas, please?

Thanks.

Lars

 - Original Message -
 From: "Lars Heber" [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, October 06, 2000 3:24 PM
 Subject: [Zope] Animated GIFs

  Hi there,
 
  I've got a strange problem.
 
  I want to upload an animated GIF to my Zope, but when I want to view it,
 
  animation stops at the last frame instead of looping indefinitely.
 
  When not uploaded to Zope, the animation works fine,
  also, when I download the GIF by rightclick from a Zope site and view
  it again outside Zope, it works perfectly!
 
  What's going on here??? Any ideas?
 
  PS.: The content_type is image/gif.
  Do animGifs have another one? Just an idea...



___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] Animated GIFs

2000-10-09 Thread Lars Heber

Sorry, forgot the html quoting in my last posting...
Should work now.

Peter Bengtsson schrieb:

 [Just checking.]
 Have you tried to acctually _use_ the animated gif in context with
other HTML?
 I have experienced problem some single time with images (can't
remember what the problem/image was) viewed directly from the View
management tab.

 Excuse the childish suggestion.

Any help is appreciated!!!

I tried your suggestion. The animGif works fine with every kind of HTML.

I really think it's a Zope problem.
Also the gif downloaded from Zope works with HTML outside Zope.
The following doesn't work as well:
Refer to the gif situated on your Zope server from a HTML file outside
Zope. - Same problem...

lt;html
lt;headlt;titlethe titlelt;/titlelt;/head
lt;bodylt;img src="http://localhost:8080/animGif"lt;/body
lt;/html

I also tried to name the animGif explicitely animGif.gif instead of
animGif - guessed what? - same problem!

Any more ideas, please?

Thanks.

Lars

 - Original Message -
 From: "Lars Heber" [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, October 06, 2000 3:24 PM
 Subject: [Zope] Animated GIFs

  Hi there,
 
  I've got a strange problem.
 
  I want to upload an animated GIF to my Zope, but when I want to view
it,
 
  animation stops at the last frame instead of looping indefinitely.
 
  When not uploaded to Zope, the animation works fine,
  also, when I download the GIF by rightclick from a Zope site and
view
  it again outside Zope, it works perfectly!
 
  What's going on here??? Any ideas?
 
  PS.: The content_type is image/gif.
  Do animGifs have another one? Just an idea...



___
Zope maillist  -  [EMAIL PROTECTED]
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 )




RE: [Zope] Animated GIFs

2000-10-09 Thread Seb Bacon


 I also tried to name the animGif explicitely animGif.gif instead
 of animGif - guessed what? - same problem!

 Any more ideas, please?


have you tried doing a diff on the zope and non-zope versions to see if
zzope's somehow mangled it?

seb


___
Zope maillist  -  [EMAIL PROTECTED]
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 )




Re: [Zope] Animated GIFs

2000-10-09 Thread Lars Heber

Seb Bacon schrieb:

 
  I also tried to name the animGif explicitely animGif.gif instead
  of animGif - guessed what? - same problem!
 
  Any more ideas, please?
 

 have you tried doing a diff on the zope and non-zope versions to see if
 zzope's somehow mangled it?

 seb

Yes, I did. They were absolutely identical!

I 'diffed' the original and the up- and redownloaded version.

Perhaps I should 'diff' the original with the version which is inside Zope
- but how to do this?!? It's an object, isn't it?



___
Zope maillist  -  [EMAIL PROTECTED]
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 )




RE: [Zope] Animated GIFs

2000-10-09 Thread Seb Bacon

right-clicking the image in question and "save image as..." should give you
the precise data that zope's storing internally - that's what you did,
right?  it seems very unlikely to me that zope does mangle images though.
and doubly unlikely that it unmangles them again just for your diff.  is it
a browser-related issue?  have you tried it in IE  netscape?  if you want
to send me the gif i'll try it out, when i get some time (tomorrow probably)

seb

 -Original Message-
 From: Lars Heber [mailto:[EMAIL PROTECTED]]
 Sent: 09 October 2000 15:29
 To: Seb Bacon
 Cc: [EMAIL PROTECTED]
 Subject: Re: [Zope] Animated GIFs


 Seb Bacon schrieb:

  
   I also tried to name the animGif explicitely animGif.gif instead
   of animGif - guessed what? - same problem!
  
   Any more ideas, please?
  
 
  have you tried doing a diff on the zope and non-zope versions to see if
  zzope's somehow mangled it?
 
  seb

 Yes, I did. They were absolutely identical!

 I 'diffed' the original and the up- and redownloaded version.

 Perhaps I should 'diff' the original with the version which is inside Zope
 - but how to do this?!? It's an object, isn't it?




___
Zope maillist  -  [EMAIL PROTECTED]
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] Fw: Re: [Zope] Animated GIFs

2000-10-09 Thread Oliver Bleutgen

 Seb Bacon schrieb:

 
  I also tried to name the animGif explicitely animGif.gif instead
  of animGif - guessed what? - same problem!
 
  Any more ideas, please?
 

 have you tried doing a diff on the zope and non-zope versions to see if
 zzope's somehow mangled it?

 seb

 Yes, I did. They were absolutely identical!

 I 'diffed' the original and the up- and redownloaded version.

 Perhaps I should 'diff' the original with the version which is inside Zope
 - but how to do this?!? It's an object, isn't it?

Perhaps you should use a tool like tcpdump to do a raw dump of the tcp-data
which is sent. Or just look at the http-headers with a tool like samspade 
(http://www.samspade.org/ssw/).
Perhaps there is a problem with them (differing content-length?) - maybe triggering a 
bug in IE.


cheers,
oliver


___
Zope maillist  -  [EMAIL PROTECTED]
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 )