Don't render unneeded markup when there is no thumbnail.
Merge pull request #479 from jordandukart/7.x-1.3

Don't render unneeded markup when there is no thumbnail.