>From your email I assume you are uploading the images via the admin/
design page.

Which version of web2py are you running? Which OS? binary or source?
Which web server?

Massimo

On Mar 25, 10:20 am, Doug Cuthbertson <doug.cuthbert...@gmail.com>
wrote:
> Massimo,
> Thanks for the reply. When I 
> accesshttp://localhost:8000/TestBlog/static/image2.jpg
> I get an image of the text "http://localhost:8000/TestBlog/static/
> image2.jpg". When I try other images I either get a corrupted version
> of the original image, or I get an image of the URL text. When I open
> the directory "E:\web2py\applications\TestBlog\static", the images
> (image1.jpg and image2.jpg in this case) are there, but either they
> cannot be displayed in an image viewer or they are displayed as a
> corrupted version of the original.
>
> Regards,
> Doug C.
>
> On Mar 25, 10:17 am, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > Can you access
>
> >http://localhost:8000/TestBlog/static/image2.jpg
>
> > is it either a typo or the image is not there.
>
> > Massimo
>
> > On Mar 25, 6: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
-~----------~----~----~----~------~----~------~--~---

Reply via email to