conditional display of images

Wrapped up the dynamic img tag in a conditional statement