webp file support

https://www.phpbb.com/ideas/
User avatar
php-BB-Is-Awesome
Registered User
Posts: 19
Joined: Mon Feb 22, 2021 4:26 am

webp file support

Post by php-BB-Is-Awesome »

webp photos are already supported by every major mainstream web browser currently in development.

I cannot presume to speak for everyone, but it has been my personal experience whenever seeking out photos to share; all the websites I pull from as a casual user are already using WEBP. That is to say, my members, when posting images, are already frustrated that all the cool photos they wish to share seem to be incompatible with the site. To put that into context, imagine visiting a forum that was incompatible with JPEG. At this point, general web compliance and practiced user engagement should be enough to justify adaptation, in my opinion.

Thank you for your generous time and consideration. :-)

edit:
I am talking about attaching .webp photos to a post (I am talking about uploading and attaching and having that image display, and I am not talking about hotlinking).
Last edited by php-BB-Is-Awesome on Fri Feb 26, 2021 4:52 pm, edited 3 times in total.
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: webp file support

Post by david63 »

I cannot see any problem with inserting .webp files.

Image
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
User avatar
php-BB-Is-Awesome
Registered User
Posts: 19
Joined: Mon Feb 22, 2021 4:26 am

Re: webp file support

Post by php-BB-Is-Awesome »

david63 wrote: Thu Feb 25, 2021 10:25 am I cannot see any problem with inserting .webp files.

Image
That is because you hot-linked the photo. -- Try uploading the photo ;)

I have a web camera that saves photos in .webp by default, for example. Not everyone is going to try to convert an image either. Search a royalty-free or public domain stock imagine site, and some of those will be .webp too. There are a lot of people using .webp, and users are often surprised that they are not supported.
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: webp file support

Post by david63 »

So you are not asking for phpBB to support webp file format but the ability to auto upload from the likes of a mobile phone.
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
User avatar
Lumpy Burgertushie
Registered User
Posts: 69223
Joined: Mon May 02, 2005 3:11 am
Contact:

Re: webp file support

Post by Lumpy Burgertushie »

strangely enough I copied that image to my computer. it shows up in the file list. however, when I try to attach it to a reply,
it does not show up at all in the file list to select it.
very strange.


robert
Premium phpBB 3.3 Styles by PlanetStyles.net

I am pleased to announce that I have completed the first item on my bucket list. I have the bucket.
User avatar
Kailey
Community Team Leader
Community Team Leader
Posts: 3726
Joined: Mon Sep 01, 2014 1:00 am
Location: sudo rm -rf /
Name: Kailey Snay
Contact:

Re: webp file support

Post by Kailey »

david63 wrote: Thu Feb 25, 2021 2:14 pm So you are not asking for phpBB to support webp file format but the ability to auto upload from the likes of a mobile phone.
I don't think he's asking for that at all. If you upload that image (after allowing .webp and .wbp), you receive this error when clicking on the status icon:

webp_error.png
webp_error.png (2.45 KiB) Viewed 6367 times
Kailey Snay - Community Team Leader
Knowledge Base | Documentation | Community rules

If you have any questions about the rules/customs of this website, feel free to send me a PM.
User avatar
Brf
Support Team Member
Support Team Member
Posts: 53379
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: webp file support

Post by Brf »

Is that saying that the phpbb.com web server does not support it?
User avatar
php-BB-Is-Awesome
Registered User
Posts: 19
Joined: Mon Feb 22, 2021 4:26 am

Re: webp file support

Post by php-BB-Is-Awesome »

david63 wrote: Thu Feb 25, 2021 2:14 pm So you are not asking for phpBB to support webp file format but the ability to auto upload from the likes of a mobile phone.
I should be able to upload it from any device...ie... phone, desktop, laptop, tablet, etc... I can do so with a JPEG, GIF, and PNG file for example. But at the moment WEBP is not supported by phpBB.
User avatar
php-BB-Is-Awesome
Registered User
Posts: 19
Joined: Mon Feb 22, 2021 4:26 am

Re: webp file support

Post by php-BB-Is-Awesome »

KaileyT wrote: Thu Feb 25, 2021 3:28 pm
david63 wrote: Thu Feb 25, 2021 2:14 pm So you are not asking for phpBB to support webp file format but the ability to auto upload from the likes of a mobile phone.
I don't think he's asking for that at all. If you upload that image (after allowing .webp and .wbp), you receive this error when clicking on the status icon:


webp_error.png
This. The message actually reads that it is not a supported extension (invalid file extension) here on phpBB.com. On my localhost, I tried to manually add the photo association.

ACP > Posting > Manage attachment extensions > .webp > images > submit

But upon trying to attach a photo with a .webp extension, I am informed that it is not supported. My localhost has both GD and ImageMagick enabled. I tested this with competing software, and they work without issue.
User avatar
Kailey
Community Team Leader
Community Team Leader
Posts: 3726
Joined: Mon Sep 01, 2014 1:00 am
Location: sudo rm -rf /
Name: Kailey Snay
Contact:

Re: webp file support

Post by Kailey »

Brf wrote: Thu Feb 25, 2021 4:56 pm Is that saying that the phpbb.com web server does not support it?
No, tested on a testboard I have setup as well as an internal board at my company.
Kailey Snay - Community Team Leader
Knowledge Base | Documentation | Community rules

If you have any questions about the rules/customs of this website, feel free to send me a PM.
User avatar
AmigoJack
Registered User
Posts: 6106
Joined: Tue Jun 15, 2010 11:33 am
Location: グリーン ヒル ゾーン
Contact:

Re: webp file support

Post by AmigoJack »

php-BB-Is-Awesome wrote: Thu Feb 25, 2021 1:15 pm
david63 wrote: Thu Feb 25, 2021 10:25 amI cannot see any problem with inserting .webp files.
That is because you hot-linked the photo.
Simply embedding a resource is not checked by default - you could also embed a HEIC or PCX picture, provided it is served elsewhere. php-BB-Is-Awesome is talking about attaching such a file.

If a picture width/height/filesize restriction would be active here then embedding WEBP would fail, too. Try that on a test board.
  • "The problem is probably not my English but you do not want to understand correctly. ... We will not come anybody anyway, nevertheless, it's best to shit this." Affin, 2018-11-20
  • "But this shit is not here for you. You can follow with your. Maybe the question, instead, was for you, who know, so you shoved us how you are." axe70, 2020-10-10
  • "My reaction is not to everyone, especially to you." Raptiye, 2021-02-28
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: webp file support

Post by david63 »

AmigoJack wrote: Fri Feb 26, 2021 7:38 am php-BB-Is-Awesome is talking about attaching such a file.
Then that should have been made clear in the OP, and a generalisation that phpBB does not support this format.
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
User avatar
AmigoJack
Registered User
Posts: 6106
Joined: Tue Jun 15, 2010 11:33 am
Location: グリーン ヒル ゾーン
Contact:

Re: webp file support

Post by AmigoJack »

david63 wrote: Fri Feb 26, 2021 8:19 amthat should have been made clear
With all respect to your long experience, but "inserting .webp files" is equally ambiguous (if not wrong) as the initial post not using the term "attachment". I'm used to newcomers not being precise, but you weren't better in that post.

Why moderators don't fix improper terms in crucial posts (such as the first to an idea) is also beyond my understanding. One could also argue that this is a bug, incorporating that /phpbb/files/upload.php in image_types() doesn't handle IMAGETYPE_JPEG2000, IMAGETYPE_ICO and IMAGETYPE_WEBP (the latter only available with PHP 7.1.0 and younger).
  • "The problem is probably not my English but you do not want to understand correctly. ... We will not come anybody anyway, nevertheless, it's best to shit this." Affin, 2018-11-20
  • "But this shit is not here for you. You can follow with your. Maybe the question, instead, was for you, who know, so you shoved us how you are." axe70, 2020-10-10
  • "My reaction is not to everyone, especially to you." Raptiye, 2021-02-28
User avatar
warmweer
Jr. Extension Validator
Posts: 11194
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium
Contact:

Re: webp file support

Post by warmweer »

AmigoJack wrote: Fri Feb 26, 2021 10:24 am I'm used to newcomers not being precise, but you weren't better in that post.
Nobody's perfect and everyone, no matter how much experience, isn't always 100% clear when expressing thoughts/recommendations, and even with years of experience mistakes are made (and you're no exception).

To be honest, when I saw this topic at first, I also tested linking a .webp inside a post and didn't realise that "attachment" was the issue.
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
User avatar
Kailey
Community Team Leader
Community Team Leader
Posts: 3726
Joined: Mon Sep 01, 2014 1:00 am
Location: sudo rm -rf /
Name: Kailey Snay
Contact:

Re: webp file support

Post by Kailey »

OK, let's all calm down and stick to the idea at hand. There's no need for the back-and-forth of terminology. It's now clear the OP is proposing attachment support.
AmigoJack wrote: Fri Feb 26, 2021 10:24 am Why moderators don't fix improper terms in crucial posts (such as the first to an idea) is also beyond my understanding
We will periodically advise users of the correct terminology, but going through and editing posts just so the same terms are used is a little over the top. It's the same as the whole thread vs. topic debate that constantly goes on. ;)
Kailey Snay - Community Team Leader
Knowledge Base | Documentation | Community rules

If you have any questions about the rules/customs of this website, feel free to send me a PM.
Post Reply

Return to “phpBB Ideas”