title: TYPO3 8.7 / Gridelements 8 / Insert Images with Flexform Elements
body: <p>Hello, <br />
  first: sorry for my bad english! Thank you :D.</p>
  
  <p>In TYPO3 I created a new gridelement, it just contains this Flexform configuration:<br />(it is also wrapped by a xml-Tag and stuff, but I can't copy that here)</p>
  
  <pre><code>&lt;image type="array"&gt;
    &lt;TCEforms type="array"&gt;
      &lt;label&gt;Bild&lt;/label&gt;
      &lt;config type="array"&gt;
        &lt;type&gt;group&lt;/type&gt;
        &lt;internal_type&gt;file&lt;/internal_type&gt;
        &lt;allowed&gt;jpg,gif,png&lt;/allowed&gt;
        &lt;max_size&gt;1200&lt;/max_size&gt;
        &lt;uploadfolder&gt;uploads/tx_gridelements&lt;/uploadfolder&gt;
        &lt;show_thumbs&gt;1&lt;/show_thumbs&gt;
        &lt;size&gt;1&lt;/size&gt;
        &lt;minitems&gt;0&lt;/minitems&gt;
        &lt;maxitems&gt;1&lt;/maxitems&gt;
      &lt;/config&gt;
    &lt;/TCEforms&gt;
  &lt;/image&gt;
  
  &lt;a href="t3://page?alias=type=&amp;quot;array&amp;quot;"&gt;
      &lt;TCEforms type="array"&gt;
        &lt;config type="array"&gt;
          &lt;type&gt;input&lt;/type&gt;
          &lt;eval&gt;trim&lt;/eval&gt;
          &lt;wizards type="array"&gt;
            &lt;_PADDING&gt;2&lt;/_PADDING&gt;
            &lt;link type="array"&gt;
              &lt;type&gt;popup&lt;/type&gt;
              &lt;title&gt;Link&lt;/title&gt;
              &lt;icon&gt;link_popup.gif&lt;/icon&gt;
              &lt;module type="array"&gt;
              &lt;name&gt;wizard_element_browser&lt;/name&gt;
              &lt;urlParameters type="array"&gt;
              &lt;mode&gt;wizard&lt;/mode&gt;
              &lt;act&gt;file&lt;/act&gt;
              &lt;/urlParameters&gt;
              &lt;/module&gt;
              &lt;params type="array"&gt;
                &lt;blindLinkOptions&gt;&lt;/blindLinkOptions&gt;
              &lt;/params&gt;
              &lt;JSopenParams&gt;height=300,width=500,status=0,¬menubar=0,scrollbars=1&lt;/JSopenParams&gt;
            &lt;/a&gt;
          &lt;/wizards&gt;
        &lt;/config&gt;
        &lt;label&gt;Link&lt;/label&gt;
      &lt;/TCEforms&gt;
    &lt;/link&gt;
  
  &lt;text type="array"&gt;
      &lt;TCEforms type="array"&gt;
        &lt;label&gt;Text im Overlay&lt;/label&gt;
        &lt;config&gt;
          &lt;type&gt;text&lt;/type&gt;
          &lt;cols&gt;36&lt;/cols&gt;
          &lt;rows&gt;12&lt;/rows&gt;
          &lt;proc&gt;
            &lt;HSC&gt;0&lt;/HSC&gt;
          &lt;/proc&gt;
        &lt;/config&gt;
        &lt;defaultExtras&gt;richtext[*]:rte_transform[flag=rte_enabled|mode=ts_css]&lt;/defaultExtras&gt;
      &lt;/TCEforms&gt;
  &lt;/text&gt;
  </code></pre>
  
  <p>To get this Element in frontend, I render it with TypoScript like this:</p>
  
  <pre><code>5 &lt; lib.gridelements.defaultGridSetup
  5 {
  
  prepend = COA
  prepend {
  
    10 = IMAGE
    10 {
      file {     
      import = uploads/tx_gridelements/
      import.data = field:flexform_image
  
      }
      stdWrap.wrap = &lt;div class="team"&gt;&lt;div class="image"&gt;|&lt;/div&gt;
    }
  
    20 = TEXT
    20 {
      data = field:flexform_text
      parseFunc &lt; lib.parseFunc_RTE
      wrap = &lt;div class="text"&gt;|&lt;/div&gt;
      required = 1
  
    }
  
    30 = TEXT
    30 {
      value = &lt;/div&gt;
      stdWrap.typolink.parameter.data = field:flexform_link
    }
  }}
  </code></pre>
  
  <p>In TYPO3 7.6 it worked very well and I got an element where I could insert an image <a href="https://i.stack.imgur.com/JCM9l.jpg" rel="nofollow noreferrer">See Screenshot TYPO3 7.6</a></p>
  
  <p>In TYPO3 8.7 I got an Error Message and can't find a solution for it. <a href="https://i.stack.imgur.com/9WsFt.png" rel="nofollow noreferrer">Same area just in TYPO3 8.7, with error message</a></p>
  
  <p>Do you have any idea? Thanks in advance! </p>