How to set an image for each data list row?
I have a Data Master of Restaurants populated by image URLs (attribute photo), names, ids, and ratings.
When I create a Data List (without any FILTER condition assigned to) I can easily assign each image which is inside a row to a datalist input (On Load event + set value), and the result set is a table of images, each one where it is supposed to be.
But when I apply a FILTER condition, for example to restrict the result properly, showing only the desired instances, I cannot find a way to assign the photo input text to its related image (envelope icon). When I put current row into the first slot of SELECT queries, the result is that the first image is repeated on each row. I can't find a way to simulate the typical instruction "current_row.photo" of popular programming languages.
Any help is appreciated. Thank you in advance.