Modern Image Formats

Beskrivning

This plugin adds WebP support for media uploads within the WordPress application. WebP images will be generated only for new uploads, pre-existing imagery will not be converted to WebP format. By default, WebP images will only be generated for JPEG uploads, only the original uploaded file will still exist as a JPEG image. All generated image sizes will exist as WebP only. If you wish to change this behaviour, there is a checkbox in Settings > Media that – when checked – will alter the behaviour of this plugin to generate both JPEG and WebP images for every sub-size (noting again that this will only affect newly uploaded images, i.e. after making said change).

This plugin was formerly known as WebP Uploads.

Installation

Installation inifrån WordPress

  1. Besök Tillägg > Lägg till nytt.
  2. Search for Modern Image Formats.
  3. Install and activate the Modern Image Formats plugin.

Manuell installation

  1. Ladda upp hela mappen webp-uploads till katalogen /wp-content/plugins/.
  2. Besök Tillägg.
  3. Activate the Modern Image Formats plugin.

Vanliga frågor

Var kan jag skicka in min återkoppling om tillägget?

Feedback is encouraged and much appreciated, especially since this plugin may contain future WordPress core features. If you have suggestions or requests for new features, you can submit them as an issue in the WordPress Performance Team’s GitHub repository. If you need help with troubleshooting or have a question about the plugin, please create a new topic on our support forum.

Var kan jag rapportera säkerhetsproblem?

Performance-teamet och WordPress-communityn tar säkerhetsfel på allvar. Vi uppskattar dina ansträngningar att ansvarsfullt rapportera dina upptäckter och kommer att göra allt vi kan för att erkänna dina bidrag.

För att rapportera ett säkerhetsproblem, besök WordPress HackerOne-programmet.

Hur kan jag bidra till tillägget?

Bidrag är alltid välkomna! Läs mer om hur du kan engagera dig i Handboken för Core Performance-team.

I’ve activated the Modern Image Formats plugin, but WebP images are not always generated when I upload a JPEG image. Why?

Det finns två huvudsakliga anledningar till att en WebP-bild kanske inte genereras:

  1. The Modern Image Formats plugin has identified that the WebP version of the uploaded JPEG image would have a larger file size than the original JPEG image, so it does not generate the WebP version.
  2. JPEG-bilden laddades inte upp till Mediabiblioteket. För närvarande genereras WebP-versioner endast för bilder till mediebiblioteket. WebP-versioner genereras inte för JPEG-bilder som läggs till på din webbplats på andra sätt, t.ex. i en mallfil eller i Anpassaren.

With the Modern Image Formats plugin activated, will the plugin generate JPEG and WebP versions of every image that I upload?

By default, the Modern Image Formats plugin will only generate WebP versions of the images that you upload. If you wish to have both WebP and JPEG versions generated, you can navigate to Settings > Media and enable the Generate JPEG files in addition to WebP option.

Recensioner

25 mars 2024 1 svar
Simple Plugin, that does it's one simple job very good. Definitely a recommendation!
5 februari 2024 1 svar
I've had a hard time with an issue making it impossible for my users to upload their profile avatar (using Peepso plugin). Trying to debug the Ajax call, I've observed an error 500 message, making the whole website unresponsive when being called upon avatar confirmation. After proceeding by elimination, I finally located the issue to this new extension I had installed some time ago. Next time I'll be more prudent...
20 januari 2024 5 svar
The plugin does exactly what it says; Adds support for WebP images and automatically converts the pictures you upload to that specific format. However, not having the option to convert existing images is a big feature missing from the plugin for me. I don't know what you have in your future plans, but what would you recommend for converting old images to WebP and deleting their original format to save disk space? I'm currently using WebP Express, but I wonder if you recommend something else?
18 januari 2024 2 svar
Had to go back to the original performance plugin and all works fine.
17 augusti 2023 1 svar
It works great! Please check the keyword it does not appear in the search result, please optimize it with the plugin title: WebP Uploads
29 juli 2023 3 svar
Thank you for this plugin !!! WebP Uploads currently works better than the most popular image conversion plugins in the market. It's something simple, but it simplify life. It automatically convert every image you upload to webp. Here is what I noticed on the other plugins in the market (not really doing what I was looking for) : You upload .jpg image to your blog post => It's still a .jpg image unconverted You need to go to the plugin to convert manually new uploads
Läs alla 6 betyg

Bidragsgivare och utvecklare

”Modern Image Formats” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

”Modern Image Formats” har översatts till 6 språk. Tack till översättarna för deras bidrag.

Översätt ”Modern Image Formats” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

1.1.0

  • Add link to WebP settings to plugins table. (1036)
  • Rename plugin to ”Modern Image Formats”. (1101)
  • Use plugin slug for generator tag. (1103)
  • Delete option when uninstalling the Modern Image Formats plugin. (1116)
  • Bump minimum required WP version to 6.4. (1062)
  • Update tested WordPress version to 6.5. (1027)

1.0.5

  • Exclude ”.wordpress-org” directory when deploying standalone plugins. (866)

1.0.4

  • Bump minimum required PHP version to 7.0 and minimum required WP version to 6.3. (851)

1.0.3

  • Add standalone plugin assets. (815)

1.0.2

  • Fix WebP handling when editing images based on WordPress 6.3 change. (796)

1.0.1

  • Bump tested up to version to 6.3. (772)

1.0.0

  • Initial release of the Modern Image Formats plugin as a standalone plugin. (664)