Re: Image not loading

2019-09-20 Thread Badal Raina
{% 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

Re: Image not loading

2019-09-20 Thread Obodoma Uzondu Vincent
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

Re: Image not loading

2019-09-20 Thread parmeshwar deharkar
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

Re: Image not loading

2019-09-20 Thread Joseph Emeka
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

Re: Image not loading

2019-09-20 Thread Tosin Ayoola
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

Re: Image not loading

2019-09-20 Thread onyilimba martins mclaren tochukwu
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

Re: Image not loading

2019-09-20 Thread Joseph Emeka
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

Re: Image not loading

2019-09-19 Thread Tosin Ayoola
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,

Re: Image not loading

2019-09-19 Thread King Strips
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

Image not loading

2019-09-19 Thread Joseph Emeka
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

Re: Image not loading. IOError..

2014-08-08 Thread Collin Anderson
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.

Image not loading. IOError..

2014-08-08 Thread Swathi Rajanna
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,