when I try to show the thumbnail image with a href tag to refer to the post page it only shows the link next to the picture and the image is not clickable.

```
echo "<head>
      <style>
      img {
          margin-left: 25px;
          margin-right: 25px;
          }
      </style>
      </head>
      <body>

      <a href=".the_permalink()." blank='_blank'>
      <img src=".the_post_thumbnail('video')." >
      </a>
      </body>"; 

```

Anybody knows a fix for that?