I believe the problem is because GAE is returning Content-Type: image/x-png(according to curl, see below), and some browsers may not interpreting x-png as png (and hence downloading, as suggested by timh). I do not know why GAE is serving the file as x-png.
On my system (Chrome on Windows), it seems to only affect direct access of .png files in the static folder. My browser displays .gif & .ico files directly in the browser. Also, if the .png file is used in an HTML page, the image is displayed normally. When accessing your URL using Firefox on Windows, the image displays in FF. So, it appears that FF handles x-png as png. Cheers, Julie [1] C:\Tmp>curl --head http://calendar-ot.appspot.com/static/images/CalendarTools.png HTTP/1.1 200 OK ETag: "ozGXPA" Date: Mon, 13 May 2013 03:27:36 GMT Expires: Mon, 13 May 2013 03:28:36 GMT Cache-Control: public, max-age=60 Content-Type: image/x-png Server: Google Frontend Content-Length: 6858 On 13 May 2013 11:25, john <[email protected]> wrote: > I have some .png files in a directory that is configured as a static file > handler. When I point my browser to the URL for any of the images, the > result is not what I expect: > > - On Windows/Chrome, the image file is not displayed, but instead it > is automatically downloaded. > - On OSX/Chrome and OSX/Safari, a browser message indicates that a > Quicktime plugin is needed. When I click the "Run this time" button, the > Quicktime logo is displayed with a big question mark in it. > > I have other GAE apps with static .png files that display in the browser > as I expect. Can anyone help me figure out why this app doesn't? One URL > which shows this behavior is > http://calendar-ot.appspot.com/static/images/CalendarTools.png . For > reference, I have pasted my app.yaml file to http://pastebin.com/dRZJZRd7 > . > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/google-appengine?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-appengine?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
