MyBB Community Forums

Full Version: Adding support for webp format
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I want to add .webp fotmat support to my uploads on my forum. img bbcode can handle this format but when i try to upload a .webp file as attachment mybb gives error and says its not a valid format. i tried to add it in acp (attachment settings) but nothing changed. 
you can see a webp image below if your browser supports.
  • WebP lossy support
    • Google Chrome (desktop) 17+
    • Google Chrome for Android version 25+
    • Opera 11.10+
    • Native web browser, Android 4.0+ (ICS)

  • [size=undefined]WebP lossy, lossless & alpha support[/size]
    • Google Chrome (desktop) 23+
    • Google Chrome for Android version 25+
    • Opera 12.10+
    • Native web browser, Android 4.2+ (JB-MR1)
    • Pale Moon 26+


  • [size=undefined]WebP Animation support[/size]
    • Google Chrome (desktop and Android) 32+
    • Opera 19+

[Image: 3boats.webp]

edit: img bbcode is not worked here but it works on my forum here: http://digiartreklam.com.tr/Marmaris-test-webp
I was able to do it on my forum just fine. I used image/webp for mime type.
I did it like this and not works for me 
[attachment=39942]
anyone?
what exactly is not working ?
I've used exact settings of your screenshot & I could use webp files for attachments.
img tag also worked for the webp file on the Chrome browser & Chrome based browsers
(2018-03-15, 08:43 AM).m. Wrote: [ -> ]what exactly is not working ?
I've used exact settings of your screenshot & I could use webp files for attachments.
img tag also worked for the webp file on the Chrome browser & Chrome based browsers

I can't add as attachments. What can be the reason?
may be there is a problem with your web server.
if direct help required, you may PM me temporary access to files (FTP) & forum admin panel
thank you .m.
My php version was couse it. I changed php version to 7.2 and it is working fine now. There are some errors about googleseo but they are not visible on front-end so not a big deal.
I have done the setup above, but that makes WEBP files regular attachments like ZIP or RAR. Is there support for WebP as a full-rights image type like JPG/PNG (thumbnails generation, inclusion in <img> tags when the attachment is inserted in the post, etc...