Stop thumbnails being assigned href of image links

Any text post expando that contains an image will then cause that post's
thumbnail to inherit its href.