private function buildImageOptionsForm(FormBuilderInterface $builder, array $options)
    {
        $builder
            ->add('align', Type\ChoiceType::class, [
                'label'    => 'ekyna_cms.block.field.align',
                'choices'  => [
                    'Left'   => 'left',
                    'Center' => 'center',
                    'Right'  => 'right',
                ],
                'required' => true,
                'select2'  => false,
            ])
            ->add('max_width', Type\TextType::class, [
                'label'       => 'ekyna_cms.block.field.max_width',
                'required'    => false,
                'constraints' => [
                    new Assert\Regex([
                        'pattern' => '/^\d+(px|%)$/'
                        // TODO message translation
                    ]),
                ],
            ])
            ->add('theme', Type\ChoiceType::class, [
                'label'       => 'ekyna_cms.block.field.theme',
                'choices'     => array_flip($options['themes']),
                'placeholder' => 'ekyna_core.value.none',
                'required'    => false,
                'select2'     => false,
            ])
            ->add('style', Type\ChoiceType::class, [
                'label'       => 'ekyna_cms.block.field.style',
                'choices'     => array_flip($options['styles']),
                'placeholder' => 'ekyna_core.value.none',
                'required'    => false,
                'select2'     => false,
            ])
            ->add('animation', AnimationType::class, [
                'animations' => $options['animations'],
            ]);
    }