On 17 February 2011 21:33, Jonathan Lundell <jlund...@pobox.com> wrote:

> On Feb 17, 2011, at 10:37 AM, Johann Spies wrote:
> > What are the actual URLs for the images in question? As they appear in
> the page source at the browser, I mean.
> >
> >
> > src="/kb/static/DSC_1403.png" (I moved the image from /kb/static/images
> to /kb/static - now it works.
> >
> >  I would still like to know how to get imgages in static/images to work
> with this routing system.
> >
> >
> > src="/sadec/static/sadc.png"
>
> It should "just work". Can you double-check your names?
>
> Also, please try it (with files in static/images) with routing turned off
> (rename routes.py and restart web2py).
>
> If that doesn't resolve things, I'll try a more extended test at my end.
>

Without the routes.py file I can work with the image in static/images but
not when routes.py is active.

Regards
Johann

-- 
 May grace and peace be yours in abundance through the full knowledge of God
and of Jesus our Lord!  His divine power has given us everything we need for
life and godliness through the full knowledge of the one who called us by
his own glory and excellence.
                                                    2 Pet. 1:2b,3a

Reply via email to