The community member is trying to upload multiple images (Block A) and then display a dynamic image choice (Block B) from the uploaded images. However, the community member is having trouble with the URLs, as they are all being lumped together instead of being separated. The community member has tried various JavaScript techniques, such as stringifying and parsing, but is limited in their JavaScript knowledge.
In the comments, another community member suggests a solution: in Block A, the uploaded image URLs are stored in a variable called imageURLS. This variable can then be split into an array of individual URLs using the split(', ') method, which can then be used in Block B for the dynamic image choice.
Block A: upload images Block B: javascript (execute on client disabled) let imageURLS = {{dataFromA}}; setVariable('imageURLS',imageURLS.split(', ')); Now you have an array of image urls from A