ptemedia 0 Light Poster

Hi, I have an objectdatasource showing lots of details for a particular product.

In the table of products, there is an extra field which is either 'yes' or 'no'

Is there a way in the cs code or javascript to make an image visible="true" if the value is 'yes'

thanks