Can we use the SolrDocument#display_type here?  I think we can just check if the value is equal to "image".  I could be mistaken, so you may want to double check.