title: link an image in tt_news
body: <p>I'm using TYPO3 4.2.8 and tt_news 2.5.2. I tried the following <a href="http://typo3.org/documentation/snippets/sd/240/" rel="nofollow">snippet</a>:</p>
  
  <pre><code>plugin.tt_news.displaySingle {
      image {
          # turn off default popup anchor
          imageLinkWrap = 0
          # add our link to the first URL in links field
          stdWrap.typolink {
              parameter = {current:1}
              parameter {
              setCurrent.field = links
              setCurrent.listNum = 0
                  insertData = 1
          }
          }
      }
  }
  </code></pre>
  
  <p>Then I added an image to my news and also put a link into the link field (in the tab relations).</p>
  
  <pre><code>&lt;LINK http://www.yourwesite.com/fileadmin/user_upload/downloads/broschure.pdf _blank&gt;Download brochure&lt;/LINK&gt;
  </code></pre>
  
  <p>But if I look at the news I don't have a link on the image. What do I have to change to get it work with my old version of tt_news?</p>
  
  <p><strong>Edit:</strong></p>
  
  <p>Now I tried it with gernericmarkers (idea from <a href="http://www.typo3forum.net/forum/news-tt_news-mininews-co/51541-tt_news-bilder-verlinken.html" rel="nofollow">this topic</a>). My TS looks like the following:</p>
  
  <pre><code>temp.img = COA
  temp.img.5 = IMAGE
  temp.img.5 &lt; plugin.tt_news.displaySingle.image
  temp.img.5 {
      required = 1
      wrap = |
      file {
          import = uploads/pics/
          import.field = image
          import.listNum = 0
      }
      titleText.field = title
      altText.field = title
      if.isTrue.field = links
      imageLinkWrap.typolink.parameter.data = field:links
  }
  
  plugin.tt_news.genericmarkers.imagewithlink &lt; temp.img
  </code></pre>
  
  <p>The marker is working but there is no content displayed in the news. What is wrong with my TS?</p>