n***@gmail.com
2018-09-23 07:05:38 UTC
When within a bottle template file, what is the way to reference a static
file? for example this one?
<body background='/static/img/digital.gif'>
Why the above relative file fails to load the image? How can i reference it
correctly? If i try it as:
<body background="{{ static_file( 'digital.gif', root='./static/img' }}">
The image also fail to render.
Why Bottle fail to render the image even if no 'static_file' function is
used?
--
file? for example this one?
<body background='/static/img/digital.gif'>
Why the above relative file fails to load the image? How can i reference it
correctly? If i try it as:
<body background="{{ static_file( 'digital.gif', root='./static/img' }}">
The image also fail to render.
Why Bottle fail to render the image even if no 'static_file' function is
used?
--
--
You are member of the "bottlepy" group at google groups.
See http://groups.google.de/group/bottlepy for mailing list options.
See http://bottlepy.org/ for news and documentation.
---
You received this message because you are subscribed to the Google Groups "bottlepy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bottlepy+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You are member of the "bottlepy" group at google groups.
See http://groups.google.de/group/bottlepy for mailing list options.
See http://bottlepy.org/ for news and documentation.
---
You received this message because you are subscribed to the Google Groups "bottlepy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bottlepy+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.