Thanks. Just after posting my question I solved it without using a loop (a very long way around indeed!). For some reason, although I get what a loop is, I cannot seem to comprehend it in practice. I think that comparing my solution (sans loop) and yours (loop) will help me a great deal!
What was your non-loop solution? Did you set a class value on the parent container element that maps to a style rule that adjusts the display property?
It’s been a couple days but I think I set each image in the array to display.
pix[0].style.display = ‘inline’;
pix[1].style.display = ‘inline’;
pix[2].style.display = ‘inline’;
// etc.