title: Give renderObj = IMAGE a class
body: <p>I want to use a lazy-loader for my images. Therefore I found a JS which seems pretty comfortable. Nevertheless, my images need a class="lazy" so that the JS knows which images it should affect.</p>
  
  <p>The problem is, that I'm using a dynamically generated page with images which are stored in the media relation of each page. Idk if you guys understood what i meant :D</p>
  
  <p><em>But anyway, that's not the point.</em> The point is, I need a way to give the rendered images a class by TypoScript. <strong>I'm looking for something like this:</strong></p>
  
  <pre><code>[...]
  
  renderObj = IMAGE
  renderObj {
      file.import.data = file:current:publicUrl
      altText.data = file:current:title
  
      addClass = lazy
  }
  
  [...]
  </code></pre>