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