I need help displaying an image on my data collections into a dynamic page.

I have had luck with displaying text onto my dynamic page from my data collections, applicant, but I have no clue how to display images. I tried making a container box called photoIDP, and then used the same code that I used to display my text.

$w(‘#photoIDP’).show(applicant[‘photoID’]);