And remember: No nested quotes. You see the double quotes inside the single quotes.
Of course you have to extend the function if there are other options selected in Q001.
On the other hand you could create as many questions as there are images, display with plain "<img src=.../>" and display the questions by relevance equation.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless