Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image upload doesn't work with new field #543

Open
p380 opened this issue Feb 6, 2024 · 0 comments
Open

Image upload doesn't work with new field #543

p380 opened this issue Feb 6, 2024 · 0 comments

Comments

@p380
Copy link

p380 commented Feb 6, 2024

I want to have an additional image field in the form. In the form I extended a new custom field for the image.
Uploading an image works in an additional field, as well as in the default image field (image).

But when I remove the image from the 'image' field and want to add a new image I get an error.

In2code\Femanager\DataProcessor\ImageManipulation::getNewImageName(): Argument #1 ($fileItem) must be of type array, string given

Probably because the image is added in the custom field?
If I remove this image from the custom field, then uploading the image to the default 'image' field works.

Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant