I am trying to show all images with for loop. I have saved paths of images in Cubeimage array. And now i am trying to display them in , but i get error. How to write async code so it would work?
<div class="row">
<% for (var i = 0; i < Cubeimage.length; i++) { %>
<div class="column rounded border d-flex align-items-center">
<img class="demo cursor align-middle" src="<%= Cubeimage[i].image_path; =%>" style="width:100%;" onclick="currentSlide(1)" alt="The Woods">
</div><% } %>
Aucun commentaire:
Enregistrer un commentaire