This is definitely the way, only 3 changes I made for it to work: 

   1. added reques object to the response 
   2. set attachment to False 
   3. send image id using vars instead of args urllib quoted, using args 
   gave me too much trouble with slashes and plus signs 


return response.stream(stream, request=request, attachment=False, filename=
filename) 

{{=URL('serve_image',vars='1234')}}





On Thursday, July 18, 2013 10:58:59 PM UTC-4, Diego Carvallo wrote:
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to