Changed HTML comment to CF comment.
Added 'has-image' class to div if there is an image.