{% load 'static' %}
At top of your html page.
B. Raina
On Fri, 20 Sep 2019 at 21:49, Obodoma Uzondu Vincent
wrote:
> use this format : style = "background-image: url ( ' {{ STATIC_URL}}
> images/about.jpg' )" . use this pattern to link the static files.
>
> On Thu, Sep 19, 2019 at 7:20 AM Jos
use this format : style = "background-image: url ( ' {{ STATIC_URL}}
images/about.jpg' )" . use this pattern to link the static files.
On Thu, Sep 19, 2019 at 7:20 AM Joseph Emeka
wrote:
> The highlighted section of the code is not loading the image was the
> solution
>
> --
> You received this
Url(‘ ‘) pass the string
On Thu, 19 Sep 2019 at 7:50 PM, Joseph Emeka
wrote:
> The highlighted section of the code is not loading the image was the
> solution
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this gro
img src="" paths work but the style="" does ot work. Like i said i did not
design the template
On Friday, September 20, 2019 at 3:08:21 PM UTC+1, Tosin Ayoola wrote:
>
> The remaining on template are the working perfectly, a better way to
> troubleshoot this is to use your browser developer too
The remaining on template are the working perfectly, a better way to
troubleshoot this is to use your browser developer tools(network, console)
➕ have u tried img src="static file path" instead of img style="..."
On Sep 20, 2019 09:23, "Joseph Emeka" wrote:
> How do i reference the the source
Is any of the static files coming through?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@googlegroups.com.
To view this discussion on
How do i reference the the source correctly?
On Thursday, September 19, 2019 at 4:20:58 PM UTC+1, Tosin Ayoola wrote:
>
> I don't know if I'm write on but u're not referencing the source of the
> image wit the arc attribute, but rather u using the style attribute
>
> On Sep 19, 2019 16:11, "Jos
I don't know if I'm write on but u're not referencing the source of the
image wit the arc attribute, but rather u using the style attribute
On Sep 19, 2019 16:11, "Joseph Emeka" wrote:
> Thanks for you reply I do not really understand it. i bought the template
> to use the layout for a project,
On Thu, Sep 19, 2019 at 2:20 PM Joseph Emeka
wrote:
> The highlighted section of the code is not loading the image was the
> solution
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving em
The highlighted section of the code is not loading the image was the
solution
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@googlegro
should your PROJECT_ROOT be '/home/swathi' instead of 'home/swathi' ?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@googlegroups.com.
Exception Value:
[Errno 2] No such file or directory: u'home/swathi/images/NoProfileUser.png'
Exception
Location:/usr/local/lib/python2.7/dist-packages/django/core/files/images.py
in get_image_dimensions, line 46
w, h = get_image_dimensions(avatar)
MEDIA_ROOT = (
os.path.join(PROJECT_ROOT,
12 matches
Mail list logo