- Issue created by @saramato
- 🇫🇷France mably
Cannot reproduce locally, we need more information to be able to investigate.
- 🇵🇱Poland saramato
Thank you for your response.
So far I have this error in two services, I will try to provide more details early next week. - 🇵🇱Poland saramato
After testing, I noticed that the error occurs when I try to add an media image this way:
yourdomain.com/media/add/image - 🇫🇷France mably
Sadly, I cannot reproduce your problem and you don't give us enough information to dig further. I'm closing this issue.
- 🇵🇱Poland saramato
Drupal version 10.3.10
Version Svg Image 3.2.0 (latest)Please still be patient with me, as I don't know what information I would still have to provide.
As I wrote above, I am trying to add the media image this way:
Content -> Media -> Add media -> Image
I get an error:
The selected file filename.svg cannot be uploaded. Only files with the following extensions are allowed: png, gif, jpg, jpeg.
SVG has been added to the ‘Allowed file extensions’ section, but as you can see from the attached screenshot, it does not even appear in the ‘Allowed types’ list when adding an image. - 🇫🇷France mably
Your screenshot clearly says that
svg
is not in the allowed file types, this needs to be changed in your image field configuration.Here is what I have on my side:
And don't set the issue to "Needs review" or "Needs work", there is no code to work on.
- 🇵🇱Poland saramato
Thank you for your response.
Below are the settings of field ‘media image’ in ‘media image’ entity (admin/structure/media/manage/image/fields/media.image.field_media_image)I'm sure I've added the svg.
Sorry for the incorrect status settings.
- 🇫🇷France mably
Actually I can reproduce the problem on one of my Drupal 10.3 instance. Investigating.