I changed the format to serve the files from the system disk.
On Nov 17, 7:49 am, desfrenes <desfre...@gmail.com> wrote: > Storing images in db is a bad idea imo. You should probably only store > url/path in db and serve images from a static web server. > > On 17 nov, 10:49, David <digitalcry...@gmail.com> wrote: > > > I used the GAE example in the book to create a thumbnail image that is > > stored in the database for my model. The image displays fine while > > working in admin. Now I want to display this same image in the views. > > > What is the magic that I need in the view to be able to see the image > > instead of streaming ascii garbage that crashes the browser? > > > Thanks, > > David --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---