[DBTech] DragonByte WebP

[DBTech] DragonByte WebP 1.0.0b3

No permission to download

DragonByte Tech

Well-known member
DragonByte Tech submitted a new resource:

DragonByte WebP - Adds WebP support for XenForo Image Uploader and image processing libraries.

Description
Adds WebP support to your XenForo 2.2 forum, including the Image Uploader and GD/Imagick image processing libraries. 3rd party add-ons can then allow WebP images to be uploaded, and they'll process normally.

Uses
By adding WebP support, your 3rd party addons can implement .webp uploads to enable better quality images with a smaller file size.


Extended Product Information

Better Image Support: Starting...

Read more about this resource...
 
Suggestions

  • Extend XF\Service\User\Avatar and XF\Service\User\ProfileBanner to allow WebP to be used for those images
  • Extend XF\App\Data\FileTypes::getExtensionMap() to set the correct file type / FA icon
  • Extend app container inlineImageTypes
  • Probably add https://github.com/chase-moskal/webp-hero as a fallback for browsers that do not support WebP
  • Add an option to autmatically convert uploaded images to WebP (probably not animated GIFs (if GD is used))
  • Add a job + Cli command to convert existing images to WebP
 
Suggestions

  • Extend XF\Service\User\Avatar and XF\Service\User\ProfileBanner to allow WebP to be used for those images
  • Extend XF\App\Data\FileTypes::getExtensionMap() to set the correct file type / FA icon
  • Extend app container inlineImageTypes
  • Probably add https://github.com/chase-moskal/webp-hero as a fallback for browsers that do not support WebP
  • Add an option to autmatically convert uploaded images to WebP (probably not animated GIFs (if GD is used))
  • Add a job + Cli command to convert existing images to WebP
The first three are fine, the last three not so much. I’m definitely not going through the hassle of converting existing images for a free add-on 😛
 
Top Bottom