jheuing
(Jan-Hendrik Heuing)
December 1, 2015, 11:05am
1
I am adding an image field in the node types, and receive this error:
Inspector property "image" could not be loaded because of a missing editor definition.
I am adding an image field like this:
imageField: &imageField
type: TYPO3\Media\Domain\Model\ImageVariant
ui:
label: 'Image'
reloadIfChanged: TRUE
inspector:
group: 'image'
And make use of it like this:
properties:
image: *imageField
This perfectly works for all sorts of inspector and inline fields, this is my first image field. I have been using that code on an older 1.x instance, where it also works perfectly well, this is an update to date neos version.
Also I didn’t spot any changes in the documentation.
Thanks, JH
dfeyer
(Dominique Feyer)
December 1, 2015, 12:06pm
2
Should be (Neos 2.0 introduce ImageInterface):
image:
type: TYPO3\Media\Domain\Model\ImageInterface
ui:
label: i18n
reloadIfChanged: TRUE
inspector:
group: 'image'
position: 50
1 Like
jheuing
(Jan-Hendrik Heuing)
December 1, 2015, 12:13pm
3
Thanks Dominque!
Is there a simple way on offering updates to the docs?
http://neos.readthedocs.org/en/stable/CreatingASite/NodeTypes/NodeTypeDefinition.html
Here, it’s also still showing the old way.
If it would be markdown on a Github Repo, I could easily offer updates if I come across that kind of thing. How is the process here?
Thanks!
dfeyer
(Dominique Feyer)
December 1, 2015, 1:32pm
4
Review or comment welcome:
neos:2.0
← dfeyer:doc-imageinterface
opened 01:32PM - 01 Dec 15 UTC
1 Like