Title: Modern Image Formats
Author: WordPress Performance Team
Published: <strong>6 de abril de 2023</strong>
Last modified: 3 de julio de 2026

---

Buscar plugins

![](https://ps.w.org/webp-uploads/assets/banner-772x250.png?rev=3098226)

![](https://ps.w.org/webp-uploads/assets/icon.svg?rev=3098226)

# Modern Image Formats

 Por [WordPress Performance Team](https://profiles.wordpress.org/performanceteam/)

[Descargar](https://downloads.wordpress.org/plugin/webp-uploads.2.7.1.zip)

 * [Detalles](https://es.wordpress.org/plugins/webp-uploads/#description)
 * [Valoraciones](https://es.wordpress.org/plugins/webp-uploads/#reviews)
 *  [Instalación](https://es.wordpress.org/plugins/webp-uploads/#installation)
 * [Desarrollo](https://es.wordpress.org/plugins/webp-uploads/#developers)

 [Soporte](https://wordpress.org/support/plugin/webp-uploads/)

## Descripción

This plugin adds WebP and AVIF support for media uploads within the WordPress application.
By default, AVIF images will be generated if supported on the hosting server, otherwise
WebP will be used as the output format. When both formats are available, the output
format can be selected under `Settings > Media`. Modern images will be generated
only for new uploads, pre-existing images will only converted to a modern format
if images are regenerated. Images can be regenerated with a plugin like [Regenerate Thumbnails](https://wordpress.org/plugins/regenerate-thumbnails/)
or via WP-CLI with the `wp media regenerate` [command](https://developer.wordpress.org/cli/commands/media/regenerate/).

By default, only modern image format sub-sizes will be generated for JPEG or PNG
uploads – only the original uploaded file will still exist as a JPEG/PNG image, 
generated image sizes will be WebP or AVIF files. To change this behavior, there
is a checkbox in `Settings > Media` «Output fallback images» that – when checked–
will result in the plugin generating both the original format as well as WebP or
AVIF 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._

## Instalación

#### Instalación desde WordPress

 1. Visita **Plugins > Añadir nuevo**.
 2. Search for **Modern Image Formats**.
 3. Install and activate the **Modern Image Formats** plugin.

#### Instalación manual

 1. Sube toda la carpeta `webp-uploads` al directorio `/wp-content/plugins/`.
 2. Visita **Plugins**.
 3. Activate the **Modern Image Formats** plugin.

#### After activation

 1. Visit the **Settings > Media** admin screen.
 2. Use the controls in the **Modern Image Formats** section to configure modern image
    formats.

## FAQ

### ¿Dónde puedo enviar mis comentarios sobre el plugin?

Te animamos a que nos envíes tus comentarios, que son muy apreciados, sobre todo
porque este plugin puede contener futuras funciones del núcleo de WordPress. Si 
tienes sugerencias o peticiones de nuevas funciones, puedes [enviarlas como incidencia en el repositorio GitHub del Equipo de Rendimiento de WordPress](https://github.com/WordPress/performance/issues/new/choose).
Si necesitas ayuda para solucionar problemas o tienes alguna pregunta sobre el plugin,
[crea un nuevo tema en nuestro foro de soporte](https://wordpress.org/support/plugin/webp-uploads/#new-topic-0).

### ¿Dónde puedo informar fallos de seguridad?

El equipo de Rendimiento y la comunidad WordPress se toman en serio los fallos de
seguridad. Apreciamos tu esfuerzo para divulgar responsablemente tus hallazgos, 
y haremos todo lo posible para reconocer tus contribuciones.

Para informar de un problema de seguridad, visita el programa [WordPress HackerOne](https://hackerone.com/wordpress).

### ¿Cómo puedo contribuir al plugin?

¡Las contribuciones son siempre bienvenidas! Obtén más información sobre cómo participar
en el [manual del equipo de Rendimiento](https://make.wordpress.org/performance/handbook/get-involved/).

### He activado el módulo de Modern Image Formats, pero las imágenes WebP no siempre se generan cuando subo una imagen JPEG. ¿Por qué?

Hay dos razones principales por las que no se puede generar una imagen WebP:

 1. El plugin Modern Image Formats ha identificado que la versión WebP de la imagen
    JPEG subida tendría un tamaño de archivo mayor que la imagen JPEG original, por
    lo que no genera la versión WebP.
 2. La imagen JPEG no se subió a la [biblioteca de medios](https://wordpress.com/support/media/).
    En este momento, las versiones WebP solo se generan para imágenes en la biblioteca
    de medios. Las versiones WebP no se generan para las imágenes JPEG que se añadan
    al sitio de otras maneras, como en un archivo de plantilla o en el [personalizador](https://wordpress.com/support/customizer/).

### Con el plugin Modern Image Formats activado, ¿el plugin generará versiones JPEG y WebP de cada imagen que suba?

Por defecto, el plugin Modern Image Formats solo generará versiones WebP de las 
imágenes que subas. Si deseas generar versiones WebP **y** JPEG, puedes navegar 
a **Ajustes > Medios** para activar la opción **Generar archivos JPEG además de 
WebP**.

## Reseñas

![](https://secure.gravatar.com/avatar/0337dc6ab9a9a29593b6ba01db4934bc02f4b6d3f7f777ce031d9f270e50756e?
s=60&d=retro&r=g)

### 󠀁[Great!](https://wordpress.org/support/topic/great-17160/)󠁿

 [couponsoffers](https://profiles.wordpress.org/couponsoffers/) 2 de julio de 2026

Easy, fast, and works instantly; I highly recommend it.

![](https://secure.gravatar.com/avatar/43ee378e90b73c9da2f7f08d718a9cafb904b6ca7d0df77f14ed7534b76f3a69?
s=60&d=retro&r=g)

### 󠀁[Fantastic – simple & essential plugin](https://wordpress.org/support/topic/fantastic-simple-essential-plugin/)󠁿

 [DigitalGdn](https://profiles.wordpress.org/bkno/) 26 de junio de 2026 1 respuesta

This works perfectly for my needs and I see it as an essential plugin. I use it 
with these settings enabled: ✅ AVIF ✅ Output fallback images ✅ Picture element
Then just a question of running wp media regenerate. For images I output in custom
blocks (e.g. an ACF image field) I created a theme function that calls wp_get_attachment_image
then applies the filter wp_content_img_tag. I guess there was some technical reason
why the plugin couldn’t do that part.

![](https://secure.gravatar.com/avatar/80e914c33cfcb58bb025742ce294e1d12f214079d7e14ac31b35e24477c06eda?
s=60&d=retro&r=g)

### 󠀁[Funktioniert wie beschrieben – Heimvorteil weil von WordPress entwickelt](https://wordpress.org/support/topic/funktioniert-wie-beschrieben-heimvorteil-weil-von-wordpress-entwickelt/)󠁿

 [lacoste89](https://profiles.wordpress.org/lacoste89/) 22 de marzo de 2026

Ich nutze dieses Plugin auf allen neuen Webseiten, damit Bilder automatisch nach
AVIF konvertiert werden. Es funktionierte bisher immer ohne Probleme, deshalb kann
ich es uneingeschränkt empfehlen. Ich hoffe es wird bald auch direkt in den WordPress
Core übernommen.

![](https://secure.gravatar.com/avatar/92b7d005d1ba6b94b4e69814a40933f600fdcdcb097f2e1b5e4ae23d53535ee0?
s=60&d=retro&r=g)

### 󠀁[Doesn’t work, support not helpful](https://wordpress.org/support/topic/doesnt-work-support-not-helpful/)󠁿

 [primerpizza](https://profiles.wordpress.org/primerpizza/) 15 de diciembre de 2025
2 respuestas

Been trying to get this thing to work but it just wont serve the generated images.
Support stopped replying.

![](https://secure.gravatar.com/avatar/59b7515a7f9777abdad9c4840dac6840c596b9cf94a60bfef5222a5afaef8e6e?
s=60&d=retro&r=g)

### 󠀁[compression?](https://wordpress.org/support/topic/compression-6/)󠁿

 [pdjp](https://profiles.wordpress.org/pdjp/) 9 de diciembre de 2025 5 respuestas

Good plugin, but no option to set the WebP compression value. What compression is
used here?

![](https://secure.gravatar.com/avatar/8ac685e8921cd7f33441b7099600fbe6cc87013ca810162ae2415a8a686bf8bb?
s=60&d=retro&r=g)

### 󠀁[causes an Irreversible damage to your Media library NEEDS and Explicit warning](https://wordpress.org/support/topic/causes-an-irreversible-damage-to-your-media-library-needs-and-explicit-warning/)󠁿

 [faospark](https://profiles.wordpress.org/faospark/) 15 de octubre de 2025

Its been years since I had a terrible experience in this eco system UP UNTIL this
one. The plugin needs to warn users that once youve regenerated post thumbnails 
and complete entire process is complete even if you deactivate the plugin wordpress
will would force you to use tha Avif or webp version of your images. in which a 
lot of cases will break site. And one would think you can reverse nope that is not
case. I had to result to using a back up data base to restore content. I have about
10K images that includes is variable sizes and variable formats on 2 websites . 
I Have ZERO plans to figure out which is a jpg and png on those let alone re attach
them. There is no official wordpress to manually restore them. This plugin needs
to be further improved.

 [ Leer todas las 25 reseñas ](https://wordpress.org/support/plugin/webp-uploads/reviews/)

## Colaboradores y desarrolladores

«Modern Image Formats» es un software de código abierto. Las siguientes personas
han colaborado con este plugin.

Colaboradores

 *   [ WordPress Performance Team ](https://profiles.wordpress.org/performanceteam/)
 *   [ WordPress.org ](https://profiles.wordpress.org/wordpressdotorg/)

«Modern Image Formats» está traducido en 16 idiomas. Gracias a [los traductores](https://translate.wordpress.org/projects/wp-plugins/webp-uploads/contributors)
por sus contribuciones.

[Traduce «Modern Image Formats» a tu idioma.](https://translate.wordpress.org/projects/wp-plugins/webp-uploads)

### ¿Interesado en el desarrollo?

[Revisa el código](https://plugins.trac.wordpress.org/browser/webp-uploads/) , echa
un vistazo al [repositorio SVN](https://plugins.svn.wordpress.org/webp-uploads/)
o suscríbete al [registro de desarrollo](https://plugins.trac.wordpress.org/log/webp-uploads/)
por [RSS](https://plugins.trac.wordpress.org/log/webp-uploads/?limit=100&mode=stop_on_copy&format=rss).

## Registro de cambios

#### 2.7.1

**Bug Fixes**

 * Prevent fatal error in `webp_uploads_filter_wp_get_attachment_image()` when `
   wp_get_attachment_image_src()` returns false and during `rest_prepare_attachment`
   filtering. ([2565](https://github.com/WordPress/performance/pull/2565))

#### 2.7.0

**Enhancements**

 * Add explanation for discarded modern image outputs. ([2518](https://github.com/WordPress/performance/pull/2518))
 * Link to FAQ from settings section. ([2480](https://github.com/WordPress/performance/pull/2480))
 * Rewrite `img` tags output by `wp_get_attachment_image()`. ([2451](https://github.com/WordPress/performance/pull/2451))

**Bug Fixes**

 * Disable AVIF when ImageMagick does not support AVIF transparency. ([2540](https://github.com/WordPress/performance/pull/2540))

#### 2.6.1

**Bug Fixes**

 * Add a simple PHP version check around a deprecated function. ([2285](https://github.com/WordPress/performance/pull/2285))
 * Fix missing `PICTURE` element support for post thumbnail and add missing Modern
   Image Formats support for Widget block. ([2179](https://github.com/WordPress/performance/pull/2179))

#### 2.6.0

**Bug Fixes**

 * Use modern image formats in background images for Cover blocks and Group blocks.(
   [2121](https://github.com/WordPress/performance/pull/2121))
 * Fixes palette-based PNG uploads failing original full-size AVIF/WebP conversion
   under GD. ([2024](https://github.com/WordPress/performance/pull/2024))

#### 2.5.1

**Bug Fixes**

 * Fix Modern Image Format not cropping image if crop is an array. ([1887](https://github.com/WordPress/performance/pull/1887))
 * Fix incorrect image size selection in `PICTURE` element. ([1885](https://github.com/WordPress/performance/pull/1885))

#### 2.5.0

**Enhancements**

 * Switch to `wp_content_img_tag` filter for improved image handling. ([1772](https://github.com/WordPress/performance/pull/1772))

#### 2.4.0

**Enhancements**

 * Automatically opt into 1536×1536 and 2048×2048 sizes when generating fallback
   images. ([1679](https://github.com/WordPress/performance/pull/1679))
 * Convert WebP to AVIF on upload. ([1724](https://github.com/WordPress/performance/pull/1724))
 * Enable end user opt-in to generate all sizes in fallback format. ([1689](https://github.com/WordPress/performance/pull/1689))

#### 2.3.0

**Enhancements**

 * Introduce `webp_uploads_get_file_mime_type` helper function. ([1642](https://github.com/WordPress/performance/pull/1642))
 * Rename `webp_uploads_get_file_mime_type` to `webp_uploads_get_attachment_file_mime_type`
   to clarify scope. ([1662](https://github.com/WordPress/performance/pull/1662))

**Bug Fixes**

 * Fix bug that would prevent uploaded images from being converted to the intended
   output format when having fallback formats enabled. ([1635](https://github.com/WordPress/performance/pull/1635))

#### 2.2.0

**Enhancements**

 * Convert uploaded PNG files to AVIF or WebP. ([1421](https://github.com/WordPress/performance/pull/1421))

**Bug Fixes**

 * Account for responsive images being disabled when generating a PICTURE element.(
   [1449](https://github.com/WordPress/performance/pull/1449))

#### 2.1.0

**Enhancements**

 * Improve disabling checkbox for Picture Element on Media settings screen. ([1470](https://github.com/WordPress/performance/pull/1470))

**Bug Fixes**

 * Add missing full size image in PICTURE > SOURCE srcset. ([1437](https://github.com/WordPress/performance/pull/1437))
 * Correct the fallback image in PICTURE element. ([1408](https://github.com/WordPress/performance/pull/1408))
 * Don’t wrap PICTURE element if JPEG fallback is not available. ([1450](https://github.com/WordPress/performance/pull/1450))
 * Fix setting sizes attribute on PICTURE > SOURCE elements. ([1354](https://github.com/WordPress/performance/pull/1354))
 * Remove string type hint from webp_uploads_sanitize_image_format() to prevent 
   possible fatal error. ([1410](https://github.com/WordPress/performance/pull/1410))

**Documentation**

 * Explain how to regenerate images in the Modern Image Formats readme. ([1348](https://github.com/WordPress/performance/pull/1348))

#### 2.0.2

**Enhancements**

 * I18N: Add context to Modern Image Formats section title. ([1287](https://github.com/WordPress/performance/pull/1287))

**Bug Fixes**

 * Improve compatibility of styling picture elements. ([1307](https://github.com/WordPress/performance/pull/1307))

#### 2.0.1

**Bug Fixes**

 * Fix fatal error when another the_content filter callback returns null instead
   of a string. ([1283](https://github.com/WordPress/performance/pull/1283))

#### 2.0.0

**Features**

 * Add `picture` element support. ([73](https://github.com/WordPress/performance/pull/73))
 * Add AVIF image format support. Add setting for output image format to choose 
   between WebP and AVIF. ([1176](https://github.com/WordPress/performance/pull/1176))

**Enhancements**

 * Improve Settings->Media controls for Modern Image Formats. ([1273](https://github.com/WordPress/performance/pull/1273))
 * Remove obsolete fallback script now that picture element is supported. ([1269](https://github.com/WordPress/performance/pull/1269))

#### 1.1.1

**Enhancements**

 * Prepend Settings link in webp-uploads. ([1146](https://github.com/WordPress/performance/pull/1146))
 * Improve overall code quality with stricter static analysis checks. ([775](https://github.com/WordPress/performance/issues/775))
 * Bump minimum PHP requirement to 7.2. ([1130](https://github.com/WordPress/performance/pull/1130))

**Documentation**

 * Updated inline documentation. ([1160](https://github.com/WordPress/performance/pull/1160))

#### 1.1.0

 * Add link to WebP settings to plugins table. ([1036](https://github.com/WordPress/performance/pull/1036))
 * Rename plugin to «Modern Image Formats». ([1101](https://github.com/WordPress/performance/pull/1101))
 * Use plugin slug for generator tag. ([1103](https://github.com/WordPress/performance/pull/1103))
 * Delete option when uninstalling the Modern Image Formats plugin. ([1116](https://github.com/WordPress/performance/pull/1116))
 * Bump minimum required WP version to 6.4. ([1062](https://github.com/WordPress/performance/pull/1062))
 * Update tested WordPress version to 6.5. ([1027](https://github.com/WordPress/performance/pull/1027))

#### 1.0.5

 * Exclude «.wordpress-org» directory when deploying standalone plugins. ([866](https://github.com/WordPress/performance/pull/866))

#### 1.0.4

 * Bump minimum required PHP version to 7.0 and minimum required WP version to 6.3.(
   [851](https://github.com/WordPress/performance/pull/851))

#### 1.0.3

 * Add standalone plugin assets. ([815](https://github.com/WordPress/performance/pull/815))

#### 1.0.2

 * Fix WebP handling when editing images based on WordPress 6.3 change. ([796](https://github.com/WordPress/performance/pull/796))

#### 1.0.1

 * Bump tested up to version to 6.3. ([772](https://github.com/WordPress/performance/pull/772))

#### 1.0.0

 * Lanzamiento inicial del plugin Modern Image Formats como plugin independiente.(
   [664](https://github.com/WordPress/performance/pull/664))

## Plugin de la comunidad

Este plugin está desarrollado y recibe soporte de una comunidad. [Contribuye a este plugin](https://github.com/WordPress/performance)

## Meta

 *  Versión **2.7.1**
 *  Última actualización **hace 4 horas**
 *  Instalaciones activas **100.000+**
 *  Versión de WordPress ** 6.9 o superior **
 *  Probado hasta **7.0**
 *  Versión de PHP ** 7.4 o superior **
 *  Idiomas
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/webp-uploads/), [Dutch](https://nl.wordpress.org/plugins/webp-uploads/),
   [Dutch (Belgium)](https://nl-be.wordpress.org/plugins/webp-uploads/), [English (UK)](https://en-gb.wordpress.org/plugins/webp-uploads/),
   [English (US)](https://wordpress.org/plugins/webp-uploads/), [German](https://de.wordpress.org/plugins/webp-uploads/),
   [Japanese](https://ja.wordpress.org/plugins/webp-uploads/), [Korean](https://ko.wordpress.org/plugins/webp-uploads/),
   [Norwegian (Bokmål)](https://nb.wordpress.org/plugins/webp-uploads/), [Persian](https://fa.wordpress.org/plugins/webp-uploads/),
   [Portuguese (Brazil)](https://br.wordpress.org/plugins/webp-uploads/), [Portuguese (Portugal)](https://pt.wordpress.org/plugins/webp-uploads/),
   [Spanish (Chile)](https://cl.wordpress.org/plugins/webp-uploads/), [Spanish (Spain)](https://es.wordpress.org/plugins/webp-uploads/),
   [Swedish](https://sv.wordpress.org/plugins/webp-uploads/), [Turkish](https://tr.wordpress.org/plugins/webp-uploads/)
   y [Vietnamese](https://vi.wordpress.org/plugins/webp-uploads/).
 *  [Traducir a tu idioma](https://translate.wordpress.org/projects/wp-plugins/webp-uploads)
 * Etiquetas:
 * [AVIF](https://es.wordpress.org/plugins/tags/avif/)[images](https://es.wordpress.org/plugins/tags/images/)
   [performance](https://es.wordpress.org/plugins/tags/performance/)[webp](https://es.wordpress.org/plugins/tags/webp/)
 *  [Vista avanzada](https://es.wordpress.org/plugins/webp-uploads/advanced/)

## Valoraciones

 3.4 de 5 estrellas.

 *  [  14 valoraciones de 5 estrellas     ](https://wordpress.org/support/plugin/webp-uploads/reviews/?filter=5)
 *  [  1 valoración de 4 estrellas     ](https://wordpress.org/support/plugin/webp-uploads/reviews/?filter=4)
 *  [  0 valoraciones de 3 estrellas     ](https://wordpress.org/support/plugin/webp-uploads/reviews/?filter=3)
 *  [  1 valoración de 2 estrellas     ](https://wordpress.org/support/plugin/webp-uploads/reviews/?filter=2)
 *  [  9 valoraciones de 1 estrellas     ](https://wordpress.org/support/plugin/webp-uploads/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/webp-uploads/reviews/#new-post)

[Ver todas las valoraciones](https://wordpress.org/support/plugin/webp-uploads/reviews/)

## Colaboradores

 *   [ WordPress Performance Team ](https://profiles.wordpress.org/performanceteam/)
 *   [ WordPress.org ](https://profiles.wordpress.org/wordpressdotorg/)

## Soporte

Problemas resueltos en los últimos dos meses:

     1 de 3

 [Ver el foro de soporte](https://wordpress.org/support/plugin/webp-uploads/)