I am trying to use the cms-gallery attribute. Let’s say I have the following structure of code:
<a onclick=someFunction(1)><img src="other-pic.png"></a> <a onclick=someFunction(2)><img src="some-pic.png"></a>
Is it possible to make it work with the dynamic count that I add to someFunction?
And more than that, is there any documentation that is written about cms-gallery? At this point I am trying to copy from the example website.
What I try to achieve is that my customer will be able to add/edit images, but I need to keep the structure above.