Neos.Neos/Classes/Controller/Backend/ContentController.php
public function initializeCreateImageVariantAction()
    {
        $this->arguments->getArgument('asset')->getPropertyMappingConfiguration()
            ->allowOverrideTargetType()
            ->allowAllProperties()
            ->setTypeConverterOption(PersistentObjectConverter::class, PersistentObjectConverter::CONFIGURATION_CREATION_ALLOWED, true);
    }
public function initializeCreateImageVariantAction()
    {
        $this->arguments->getArgument('asset')->getPropertyMappingConfiguration()
            ->allowOverrideTargetType()
            ->allowAllProperties()
            ->setTypeConverterOption(PersistentObjectConverter::class, PersistentObjectConverter::CONFIGURATION_CREATION_ALLOWED, true);
    }
public function initializeCreateImageVariantAction ( ) { $ this -> arguments -> getArgument ( 'asset' ) -> getPropertyMappingConfiguration ( ) -> allowOverrideTargetType ( ) -> allowAllProperties ( ) -> setTypeConverterOption ( PersistentObjectConverter :: class , PersistentObjectConverter :: CONFIGURATION_CREATION_ALLOWED , true ) ; }
Configure property mapping for adding a new image variant.

@return void
Configure property mapping for adding a new image variant .