It looks like I've run into a bug. I found out that the "upload file" is corrupted. I manually copied the image (under a different name) to my TestBlog/static/ directory, updated hello.html to use the new image and everything worked. I then opened the uploaded image in GIMP. It failed to load and GIMP displayed a couple of error messages: "Corrupt JPEG data: 10 extraneous bytes before marker 0xee" and "JPEG image Message: Bogus DQT index 12".
Please let me know if you need any more information to help track down this problem. Thanks, Doug C. On Mar 25, 7:24 am, Doug Cuthbertson <doug.cuthbert...@gmail.com> wrote: > Hi Folks, > I'm new to web2py. I've worked through the recipe example in the > cookbook and it worked like a champ! I really like being able to > create all the parts of a web application via the browser. It means > never having to open a console on the web server. Very nice. > > Next, I tried following the instructions in "how to turn a static html > page into a blog in 90 seconds" from the FAQ. All was going well, > except that the image didn't display on the /TestBlog/default/hello > web page. I've tried both versions 1.58 and 1.59 of web2py. Here's > what the source view looks like from Firefox (Ctrl-U): > > <html> > <head> > <title> Welcome to My Blog </title> > </head> > > <body> > <img src="/TestBlog/static/image2.jpg"/> > Please say something here! > </body> > </html> > > I uploaded a couple of images, so this shows the last attempt with > "image2.jpg" as the src attribute. > > Has anyone seen this kind of behavior before? > > Thank you for any and all advice. > > Regards, > Doug C. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" 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 -~----------~----~----~----~------~----~------~--~---