Displaying an image

May be a stupid question.
I have images located on my server in _lib/file/doc{idUser}
ameOfImage ({idUser} is a variable, so is nameofImage)
I want to create a grid to display these images.
Aa database hold the data (idUser and nameOfImage)

How can I achieve that ?
I’ve tried to put a field html image but it don’t seems to accept variable in the name.

Thanks

Sylvain

you can create a text field or label field, put in your load or init event full image path e.g. {field}="<img src=’…/_lib/img/sys__NM__ico__settings_32.png’></img>";

how to get this path? well, open any image qualfied path e.g. header/footer add image, assume you you will use the image there, add the image for testing, once displayed, get the path and remove it from your path in header/footer variable… use it in the code… usually is the part after third forward slash /sys…