Where you are rendering a single image, instead use a for loop to render
all of your images like so:
{% for image in images %}
<img src="{{ url 'image' }}" />
{% endfor %}
On Monday, May 25, 2020 at 11:10:47 AM UTC-4, Karthiki Chowdary wrote:
>
> Hi,
>
> I have a query in in templates i was a beginner in django and python.
> Please help me out in this query .
>
> For suppose i have a buttons on client browser like SKINCARE or HAIR CARE
> products if i click on that buttons it should display the logos of skin
> care products or hair care products. Rendering a single image is very easy
> if i want to render so many images how can i do that if yes with
> dictionaries how can i do that?? is this possible to render such huge
> amount of images or logos ?
>
> thanks
>
> Kartheeki.
>
> Please help me out .
>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/079939dd-0c8d-460a-862c-c8f5b2cf7494%40googlegroups.com.