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 <massimiliano.pietr...@gmail.com>

> I have understand very well the Stephen solution. I'm just fighting with
> the serve part of the code...
>
>
> 2010/10/27 ego008 <ego...@gmail.com>
>
> 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 google-appeng...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-appengine+unsubscr...@googlegroups.com<google-appengine%2bunsubscr...@googlegroups.com>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-appengine?hl=en.
>>
>
>
>
> --
>
> My email: massimiliano.pietr...@gmail.com
> My Google Wave: massimiliano.pietr...@googlewave.com
>



-- 

My email: massimiliano.pietr...@gmail.com
My Google Wave: massimiliano.pietr...@googlewave.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 google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to