I want have a simple model for images. there is a option to upload unlimited images. but I want don't want them to be shown under each other. for instance just show the first 5 images then some text and then again another 5. right now my code is like this:
{% for img in images %}
<img src="{{ img.images.url }}" class="img-fluid" alt="">
{% endfor %}
I want the Structure to be like this:
- for loop for img0 to 5,
- then everything elese,
- then another for loop for img6 to 10,
Thanks for the solutions and apologies for my bad English