MyBBHacks.com Plugins for  MyBB
New image format support .webp - Printable Version

+- MyBBHacks.com Plugins for MyBB (https://www.mybbhacks.com)
+-- Forum: ezGallery Pro for MyBB (https://www.mybbhacks.com/forumdisplay.php?fid=8)
+--- Forum: Feature Requests (https://www.mybbhacks.com/forumdisplay.php?fid=11)
+--- Thread: New image format support .webp (/showthread.php?tid=3015)

Pages: 1 2


New image format support .webp - Lvnt - 01-04-2018

Can you add support for uploading .webp format? MyBB's default img bbcode can handle that format as you can see below.
[Image: 3boats.webp]

It can reduse disk space and bw usage insanly


RE: New image format support .webp - MyBBHacks - 01-04-2018

Looks like it might be possible can you share/upload some examples images.


RE: New image format support .webp - Lvnt - 01-04-2018

accually https://www.mybbhacks.com/ezgallery.php?action=view&id=22 its possible on here but it says
Code:
Please correct the following errors before continuing:

Not a valid picture file.
on my site

------edit------
it converted webp to bmp in here


RE: New image format support .webp - MyBBHacks - 01-04-2018

Hmm I can't see it. Please attach as an attachment and I will do testing.


RE: New image format support .webp - Lvnt - 01-04-2018

i could not attached it becouse its not a valid attachment format by default to mybb. but you can find a webp image on google search
https://ampproject-b5f4c.firebaseapp.com/examples/images/mountains.webp


RE: New image format support .webp - Lvnt - 01-23-2018

any news?


RE: New image format support .webp - MyBBHacks - 01-23-2018

Still looking into it.
Downside seems only chrome supports it. Firefox doesn't do anything.


RE: New image format support .webp - Lvnt - 01-23-2018

Yes currently firefox does not support it. But modern browsers eventually will add support. we are talking about google's lol. also currently chrome got 60% percent of market according to w3

https://developers.google.com/speed/webp/faq#which_web_browsers_natively_support_webp


RE: New image format support .webp - Lvnt - 10-19-2018

accualy since i changed my php vers. to 7.2 webp format is now available to use, but ezgallery converts webp file to bmp file when uploaded. how can i disable converting procces?


RE: New image format support .webp - MyBBHacks - 10-19-2018

In the files look for

$extensions = array(
1 => 'gif',
2 => 'jpeg',
3 => 'png',
5 => 'psd',
6 => 'bmp',
7 => 'tiff',
8 => 'tiff',
9 => 'jpeg',
14 => 'iff',
);

Change to


$extensions = array(
1 => 'gif',
2 => 'jpeg',
3 => 'png',
5 => 'psd',
6 => 'bmp',
7 => 'tiff',
8 => 'tiff',
9 => 'jpeg',
14 => 'iff',
18 => 'webp',
);