Run Code after Product Images Loaded

:wave: everyone!

Is there a way to run my code only after the E-commerce product images collection is loaded?

I am using the slick slider for product images, if I put the code in setTimeout of 500 milliseconds it works fine but if I put the code outside that it won’t work.

Is there any way to check with webflow API that the collection list is loaded and run code after that?

@cyberdave @vincent @webdev

Here is my site Read-Only: LINK
(how to share your site Read-Only link)

Did you try calling your code from window.onload?

<script>
window.onload = function() {
// your code goes here
}
</script>

@JudoHacker Yes I tried but it did not work.

I also tried to put my code inside Webflow push method.