Thanks for letting us know.
This is working as expected.
The way this handled cannot be changed because it is determined by the
browser.
<img src="images/pic_1.jpg"
But you can do
<img src="{{=URL(r=request,c='static',f='images/pic_1.jpg')}}"
cannot
On Aug 12, 5:38 am, "Sebastian E. Ovide" <[email protected]>
wrote:
> You are right Massimo. The CSS works fine. So we can close the bug as "not a
> bug" or "cannot reproduce" etc...
>
> The images missing were not part of the CSS Template... they are in the
> HTMLs...They include images using relative paths everywhere....
>
> <img src="images/pic_1.jpg" .....
>
> and this is translated ashttp://local/images/pic_1.jpg
>
> most Templates do it as most UI designer do it...
>
> Is it working as expected ?
>
> if YES, do you think that we can change it ?.... say for example translating
> any relative URL to http:\\host:port\applicationname\static\RELATIVEURL....
> (ie. prepending applicationname\static to the relative URL)... in this way
> web2py developers would not be forced to replace all reference to files with
> URL() etc...
>
> Thanks
>
>
>
> On Wed, Aug 12, 2009 at 11:03 AM, mdipierro <[email protected]> wrote:
>
> > This is not a bug. This works form me. Either you have a typo in the
> > css or it is an issue with your browser.
>
> > Can you email me an app to reproduce it?
>
> > Massimo
>
> > On Aug 12, 4:51 am, "Sebastian E. Ovide" <[email protected]>
> > wrote:
> > > following inhttp://code.google.com/p/web2py/issues/detail?id=48
>
> > > On Wed, Aug 12, 2009 at 12:09 AM, mdipierro <[email protected]>
> > wrote:
> > > > I never had this problem.
> > > > If the css is in : /init/static/filename.css, then url(images/
> > > > myimage.jpg) should translate in /init/static/images/myimage.jpg
>
> > > > which browser are you using?
>
> > > > Massimo
>
> > > --
>
> > > Sebastian E. Ovide
>
> > > skype: seezov
>
> > > +353 87 6340149
>
> > > Sent from Dublin, Ireland
>
> --
>
> Sebastian E. Ovide
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---