Score:0

Getting validation error webp image upload

nz flag

I have added a image field to my "Blog" content type. In image field settings 'Allowed file extensions' section include webp format.

When I upload webp format image gerring below validation error. Am I missing somthing?

"The selected file hair-treatment-spotlight.webp cannot be uploaded. Only files with the following extensions are allowed: png, gif, jpg, jpeg."

ru flag
WebP should be supported starting with Drupal v9.2, see https://www.drupal.org/project/drupal/issues/2340699 (note that your hosting provider must support this too, Drupal can not work with webp if the server's image toolkit is not up to date)
Tushar avatar
nz flag
Thanks @Hudri for quick reply. Shared link is really helpful. I have applied the patch & worked for me.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.