title: Wrapping image url in typo3
body: <p>I used the typoscript below, only the image is not wrapped in <code>&lt;img src="|" class="tip-image" alt=""&gt;</code>, it only generates the image url. Out is shown below. What do I wrong?</p>
  
  <pre><code>  tipmenu = HMENU
    tipmenu.special = directory
    tipmenu.special.value = 8
    tipmenu {
      1 = TMENU
      1 {
        expAll = 1
        wrap = &lt;div class="left_links"&gt;|&lt;/div&gt;
  
        NO {
  
          stdWrap.cObject = COA 
          stdWrap.cObject { 
  
            10 = FILES
            10 {
              references {
                data = levelmedia:-1, slide
              }
              renderObj = COA
              renderObj {
                10 = IMG_RESOURCE
                10 {
                  file.import.data = file:current:publicUrl
                  file.maxW = 50
                  file.maxH = 50
                }
              }
            }
            10.wrap = &lt;img src="|" class="tip-image" alt=""&gt;
  
  
            20 = TEXT 
            20.field = title 
            20.wrap = &lt;span class="tip-title"&gt;|&lt;/span&gt;
  
            30 = TEXT 
            30.field = subtitle 
            30.wrap = &lt;span class="tip-subtitle"&gt;|&lt;/span&gt;    
  
          }
        }
      }
    }
  </code></pre>
  
  <p>Hereby the html output:</p>
  
  <pre><code>&lt;div class="left_links"&gt;
     &lt;a href="tips/verhalen-van-klanten/"&gt;
        fileadmin/_processed_/csm_klanten_e92ee310e0.png
        &lt;span class="tip-title"&gt;Verhalen van klanten&lt;/span&gt;
        &lt;span class="tip-subtitle"&gt;Wat vind jij?&lt;/span&gt;
     &lt;/a&gt;
  &lt;/div&gt; 
  </code></pre>