only tries to display image if one is associated with the post