Problem/Motivation

WebP
https://www.drupal.org/project/webp

WebP logo

WebP is an image format introduced by Google with the aim of improving the size and performance of images on the web.

In Google's own words :

WebP is a modern image format that provides superior lossless and lossy compression for images on the web. Using WebP, webmasters and web developers can create smaller, richer images that make the web faster.

The promise is to save around 20 to 30 percent of space on images using WebP and, as you'll see in this article, this claim is consistent with the results I've found myself using WebP in Drupal.

I won't go into more details about WebP, but if you are interested in more information about the subject please visit this link: https://developers.google.com/speed/webp/.

There is also a comparative study between jpeg and WebP, and the advantages of using WebP. You can read it here: https://developers.google.com/speed/webp/docs/webp_study

Acquia
https://dev.acquia.com/blog/webp-and-drupal

Can i use webp

Proposed resolution

  • Add WebP module ~1.0
  • Enable by default

User interface changes

  • Small images
  • Faster loading for the page
  • Google loves to see webp in the page

API changes

None

Data model changes

None

Comments

RajabNatshah created an issue. See original summary.

rajab natshah’s picture

Issue summary: View changes
rajab natshah’s picture

Issue summary: View changes
StatusFileSize
new373.36 KB
rajab natshah’s picture

Issue summary: View changes

  • RajabNatshah committed e5c3963 on 8.x-7.x
    Issue #3192175: Add WebP module ~1.0 and enable by default
    

  • RajabNatshah committed aab710e on 9.0.x
    Issue #3192175: Add WebP module ~1.0 and enable by default
    
rajab natshah’s picture

Assigned: rajab natshah » mohammed j. razem
Status: Active » Needs review
Issue tags: +varbase-8.8.9, +varbase-9.0.0-rc2, +varbase-9.0.0
rajab natshah’s picture

Assigned: mohammed j. razem » Unassigned
rajab natshah’s picture

Assigned: Unassigned » rajab natshah
Status: Needs review » Active

Enable in hook update

  • RajabNatshah committed 17d6ad5 on 8.x-7.x
    Issue #3192175: Add WebP module ~1.0 and enable by default
    

  • RajabNatshah committed f0dfa5f on 9.0.x
    Issue #3192175: Add WebP module ~1.0 and enable by default
    
rajab natshah’s picture

Assigned: rajab natshah » Unassigned
Status: Active » Needs review
rajab natshah’s picture

Status: Needs review » Fixed
rajab natshah’s picture

Issue summary: View changes
rajab natshah’s picture

Status: Fixed » Closed (fixed)