Only WebP Uploads

Descripción

Only WebP Uploads automatically converts your image uploads (JPG, PNG, GIF) to WebP format. It handles all image sizes generated by WordPress, ensuring your site serves optimized, modern image formats.

Features:
* Automatic Conversion: Converts images immediately upon upload.
* Space Saving: Replaces original files with lighter WebP versions.
* Database Integration: Updates WordPress metadata so the Media Library recognizes the file as WebP.
* Bulk Conversion: Includes a tool to scan and convert existing images in your library.
* WP-CLI Support: Manage conversions via command line using wp onlywebp.
* Smart Filename Sanitization: Automatically cleans filenames (e.g., mañana.jpg -> manana.webp). For non-Latin names (e.g., Japanese), it generates a secure unique ID to ensure compatibility.
* Security: Checks for Imagick support and sanitizes filenames.

Capturas de pantalla

  • General Settings / Plugin Configuration.
  • Bulk Optimization Tool / Media Library view.

Instalación

  1. Upload the plugin files to the /wp-content/plugins/only-webp-uploads directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Use the Settings->Only WebP Uploads screen to configure your preferences.

FAQ

Does this modify my original images?

Yes, this plugin is designed to replace your original uploads with WebP versions to save storage space.

Requirements?

You need the PHP Imagick extension installed and enabled on your server, with WebP support.

Reseñas

No hay reseñas para este plugin.

Colaboradores & Desarrolladores

“Only WebP Uploads” es software de código abierto. Las siguientes personas han contribuido a este plugin.

Colaboradores

Traduce “Only WebP Uploads” a tu idioma.

¿Interesado en el desarrollo?

Revisa el código, echa un vistazo al repositorio SVN, o suscríbete al registro de desarrollo por RSS .

Historial de cambios

1.0.1

  • New: Added “Strict Filename Sanitization” toggle.
  • New: Rewritten UI with toggle switches and quality slider.
  • Fix: Prevent file overwrite when uploading files with the same name.

1.0.0

  • Initial launch on WordPress.org

0.4.1

  • Fix: Resolved issues reported by WordPress Plugin Review Team.
  • Fix: Properly enqueued admin scripts and styles.
  • Fix: Scoped sanitization filter to upload process only.
  • Fix: Corrected Text Domain to match plugin slug.

0.4

  • Production release

= 0.3.9 (RC)=
* Fix: Translation corrections.
* New: Added “Credits tab”.

= 0.3.8 (BETA)=
* Security: Improved output escaping in admin dashboard.
* Compliance: Standardized readme.txt and headers.

0.3.7 (BETA)

  • Refactor: Renamed internal references from wua to onlywebp.
  • Fix: Resolved text domain mismatch issues.
  • Security: Added warnings for bulk content replacement.

0.3.6 (BETA)

  • Fix: Resolved duplicated image issues.

0.3.5 (BETA)

  • Initial release.

0.2.0 (ALFA)

  • Base structure.

= 0.1.0 (PRE-ALFA)=
* Idea and concept.