MyBBHacks.com Plugins for  MyBB

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New image format support .webp
#1
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
Reply
#2
Looks like it might be possible can you share/upload some examples images.
Like what I do? Support me at https://www.patreon.com/vbgamer45/
Reply
#3
accually https://www.mybbhacks.com/ezgallery.php?...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
Reply
#4
Hmm I can't see it. Please attach as an attachment and I will do testing.
Like what I do? Support me at https://www.patreon.com/vbgamer45/
Reply
#5
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...tains.webp
Reply
#6
any news?
Reply
#7
Still looking into it.
Downside seems only chrome supports it. Firefox doesn't do anything.
Like what I do? Support me at https://www.patreon.com/vbgamer45/
Reply
#8
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...pport_webp
Reply
#9
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?
Reply
#10
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',
);
Like what I do? Support me at https://www.patreon.com/vbgamer45/
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)