Adding image field to node type provides error in neos backend

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

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

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!

Review or comment welcome:

1 Like