document generation for array of images
I am currently working on a process to turn json data into an inspection form. I have gotten most of this mapped out already, the one thing I am struggling on is images.
I have successfully added in an inline image. With the json data that will be passed through the amount of photos is unknown. When trying to pass the images as an array, I only have the option to use the array in a table.
Sample Data:
"answer":[
{
},
{
}
]
I am able to run this array when putting an image place holder and editing the alt text as so:
{% repeating-section answer %}
(image place holder)
{% end-section %}
When this runs it will only duplicate the image place holder for the amount of items within the array. It will not actually replace the placeholder with the image in the url.
Last thing, when I am able to get an image to populate via inline image I can not for the life of me figure out how to get the images to display next to each other as opposed to on top of each other.
Any help with this will be greatly appreciated!
