I'm trying to serve the images with this code, but it's not working

class ServeHandler(webapp.RequestHandler):
def get(self, resource):
self.response.headers['Content-Type'] = "image/png"
 self.response.out.write(images.get_serving_url(resource, 32))

Could you help me?

2010/10/27 Massimiliano <[email protected]>

> I have understand very well the Stephen solution. I'm just fighting with
> the serve part of the code...
>
>
> 2010/10/27 ego008 <[email protected]>
>
> you can do it step by step here
>>
>>
>> http://code.google.com/intl/en/appengine/docs/python/images/usingimages.html
>>
>>
>> <http://code.google.com/intl/en/appengine/docs/python/images/usingimages.html>
>>  GAE Geek http://gaefons.appspot.com/
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<google-appengine%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-appengine?hl=en.
>>
>
>
>
> --
>
> My email: [email protected]
> My Google Wave: [email protected]
>



-- 

My email: [email protected]
My Google Wave: [email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to