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
- Besök Tillägg > Lägg till nytt.
- Search for Modern Image Formats.
- Install and activate the Modern Image Formats plugin.
Manuell installation
- Ladda upp hela mappen
webp-uploads
till katalogen/wp-content/plugins/
. - Besök Tillägg.
- 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:
- 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.
- 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
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)