Improve comparison templates

In comparison templates remove blank name when no image.