{% for i in (0..24) %}
<li>
<img src="https://profilepageimages.usecue.com/images/{{ include.username }}/small/{{ i }}.jpg" alt="Instagram picture {{ i | plus:1 }}" />
</li>
{% endfor %}
Its so simple but totally unfathomable for me from hugo documentation.