If the images files are sotored in static:
{% load static %}

<img url='{% static /image_location/image_name.jpg  %}'......../>

El vie, 13 may 2022 a las 10:03, Nicolas Passarini (<
nicolaspassar...@gmail.com>) escribió:

> how do you refer to the object in the template?
>
> El martes, 10 de mayo de 2022 a la(s) 09:58:56 UTC-3, narsh...@gmail.com
> escribió:
>
>> You change the names of the pictures in the separate folder then copy
>> them in a static folder then change the picture file names in the template
>> folder then refresh then see pictures are new ones or not
>>
>> On Mon, 9 May 2022 at 20:15, Aliya Janmohamed <aliya.jan...@gmail.com>
>> wrote:
>>
>>> Hi
>>>
>>> It is still displaying the same image as above.
>>>
>>> On Sun, 8 May 2022 at 03:34, Arshad Noman <narsh...@gmail.com> wrote:
>>>
>>>> First, you change the picture name and place it in the pictures folder
>>>> like static or media folder then change the picture name in templates where
>>>> you want the picture to be displayed
>>>>
>>>>
>>>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>
>>>>  Virus-free.
>>>> www.avast.com
>>>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>
>>>> <#m_-8114907552984717051_m_3502899349567986621_m_-4392793013509788988_m_-8012441007838514003_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>>>
>>>> On Sun, 8 May 2022 at 03:37, Aliya Janmohamed <aliya.jan...@gmail.com>
>>>> wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> I cannot load my images, this is what shows:
>>>>>
>>>>>
>>>>> --
>>>>> 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...@googlegroups.com.
>>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/django-users/2dc9f275-adcf-4a03-b8ed-db4aad8dfbc6n%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/django-users/2dc9f275-adcf-4a03-b8ed-db4aad8dfbc6n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>> --
>>>> You received this message because you are subscribed to a topic in the
>>>> Google Groups "Django users" group.
>>>> To unsubscribe from this topic, visit
>>>> https://groups.google.com/d/topic/django-users/M5ZOBHwScMA/unsubscribe.
>>>> To unsubscribe from this group and all its topics, send an email to
>>>> django-users...@googlegroups.com.
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/django-users/CA%2B0oV2hu4SW1VJc0H%3DEfCnBsXLts0K8y_T_C-jjdpE5754r90g%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/django-users/CA%2B0oV2hu4SW1VJc0H%3DEfCnBsXLts0K8y_T_C-jjdpE5754r90g%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> --
>>> 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...@googlegroups.com.
>>>
>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/CALHQhB7p5fnh2PQRKZYx9rCt3ZgHyGazV41Px4gyqBZv%3DQZJJA%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/django-users/CALHQhB7p5fnh2PQRKZYx9rCt3ZgHyGazV41Px4gyqBZv%3DQZJJA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
> 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 the web visit
> https://groups.google.com/d/msgid/django-users/b93e1ab4-bd95-4df3-b1b3-7970261baa12n%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/b93e1ab4-bd95-4df3-b1b3-7970261baa12n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 the web visit 
https://groups.google.com/d/msgid/django-users/CAObPVPD8-T_QjCqwZ47bT%2BYT%2BHX%3Dpdwd%3DOEEUQYfiCWQJtxgWg%40mail.gmail.com.

Reply via email to