Thanks for your reply Tom.
I used the code you provided and changed list ID with the right one but it doesn´t work.
The code I’m using is to display a custom image. With the updated code you gave me the image does not appear anymore. It’s like the code is not applied to the list anymore althought I changed the ID to the right one.