# Linking Product Images in the downloads Shortcode

This doc shows how to link the product images shown in the `[[downloads]]` shortcode to the product pages.

1. Create a folder called *edd\_templates* inside of your currently active theme&#039;s directory.
2. Create a file called *shortcode-content-image.php* in the new folder created in 1.
3. Paste the code below into the new file:

```
&lt;div class=&quot;edd_download_image&quot;&gt;&lt;a href=&quot;&lt;?php echo get_permalink( get_the_ID() ); ?&gt;&quot;&gt; &lt;?php echo get_the_post_thumbnail(  get_the_ID(), &#039;thumbnail&#039; ); ?&gt; &lt;/a&gt;&lt;/div&gt;
```

```

```