pocketnetteam / pocketnet.core

Decentralized social network based on the blockchain
https://pocketnet.app
Apache License 2.0
115 stars 28 forks source link

Support for WebP and Avif image formats #738

Open Getron opened 2 months ago

Getron commented 2 months ago

Is your feature request related to a problem? Please describe. I have all of my sites with webp and avif formats of images, therefore, Bastyon is not supporting this formats yet, and it is crucial to support modern formats, because, more and more web pages uses this formats, and if you don't support, for example, on upload, or inserting links with webp or avif images, it won't be showed, and this looks bad.

Describe the solution you'd like Bastyon, as a modern and abitious portal should support this formats, in any way.

Describe alternatives you've considered There is no alternative, we should be able to share links with webp and avif image formats too, like you do with jpg and png.

Additional context Add any other context or screenshots about the feature request here.

andyoknen commented 2 months ago

https://github.com/pocketnetteam/pocketnet.gui/commit/131993ab474fc578b2b1d3aee0b20d62b07094e4

I was told that somewhere in this PR there is an addition of support for the specified image formats for uploading.