Descripción
🚀 The Ultimate Image Optimization Plugin for WordPress
⚡ Boost your site’s speed instantly! Optimize images and PDFs with one click, bulk compress to WebP and AVIF, use lazy loading, and resize images.
Increase your website’s SEO ranking, number of visitors, and ultimately your sales by optimising any image or PDF document on your website.
The ShortPixel plugin is a lightweight, user-friendly, install-and-forget solution for image optimization.
It is designed to work with any website type, whether it’s a small blog or a large WooCommerce-powered online store with tens of thousands of products.
Additionally, it’s an excellent choice for agencies, offering unlimited image optimization credits for a flat monthly fee.
🎬 Ready for a Quick DEMO of our Top Image Optimization Tool?
Test our plugin here.
Make an instant image compression test of your site or compress some images to test our optimization algorithms.
💡 Why is ShortPixel the best choice for image optimization or PDF compression?
🆕 New! Brand new AI features
- AI Image Upscale (2x, 3x, 4x) – Upscale smaller images with high-quality AI upscaling, perfect for retina displays and crisp visuals.
- AI Background Removal – Instantly remove background from your images with one click, ideal for creating clean product photos. After the background is removed, your image can have a transparent background or be filled with a single solid color.
- AI Image Titles – In addition to ALT text, captions, and descriptions, you can now generate smart image titles using AI for better SEO.
- Bulk Remove AI Data – Easily clear all AI-generated image SEO data in one go.
- You can now add fixed text before/after AI-generated image SEO data for full consistency across your site.
🆕 New! Freshly added AI Image SEO features
- AI-powered image SEO – Automatically generate ALT text, captions, and image descriptions for all your images.
- Bulk mode – Mass-generate and update details for all your images.
- Preview mode – Test and fine-tune AI results before applying new ALT texts and descriptions in bulk.
- Multilingual – Support for 100+ languages.
- WooCommerce – Seamless support for WooCommerce product images.
- Unlimited credits – AI-generate image titles, captions, and more with our Unlimited plan.
- Accessibility – Improve website accessibility by generating all the necessary metadata for each image.
Freshly added features
- Smart Backups: Save disk space by backing up only the main image. When restoring, thumbnails are automatically regenerated based on current settings.
- Automatic Backup Cleanup: Set rules to automatically delete old backups after a chosen period.
- Compress WebP images – ShortPixel now also smartly compresses all your existing WebP images.
- Added support for serving CSS, JS and fonts from our global CDN.
- Save & Restore option for all settings – ideal for agencies and users managing multiple websites.
- Decide whether AI bots can use your images for machine learning (ML) training, or block them entirely.
- You can now exclude images from optimization based on their file zie, perfect for skipping very small images or large images that photographers need to keep in their original, full format.
- Filter and select images in bulk using date-based criteria, giving you precise control over what gets optimized and when.
🌍 Faster Websites for Global Audiences
The ShortPixel plugin now includes a built-in global Content Delivery Network (CDN). This powerful feature ensures that ShortPixel-optimized WebP and AVIF images, as well as your website’s CSS and JavaScript files, are delivered quickly and efficiently to any location worldwide, minimizing delays and improving load times.
By leveraging this built-in solution, you enhance the user experience, reduce server strain, boost SEO performance, and simplify website management — all with minimal effort.
📸 Resize and Compress Images Without Losing Quality
- Popular plugin with over 300,000 active installations – according to WordPress
- Compress JPG (and its variations: JPEG, JPEG 2000, JPEG XR), PNG, GIF (still or animated) images, and also PDF documents.
- Option to automatically convert PNG to JPG if that results in smaller images (ideal for large PNG pictures).
- CMYK to RGB conversion.
- Progressive JPEG is used whenever it leads to a smaller image.
🌟 Lossy and Lossless image compression
Both Lossy and Lossless image compression are available for the most common image types (JPG, PNG, GIF, WebP, and AVIF) plus PDF files.
We also offer Glossy JPEG compression which is a very high-quality lossy optimization algorithm. Especially designed for photographers or for high-quality product pictures.
Optimized images lead to a better user experience, improved PageSpeed Insights or GTmetrix results, higher Google PageRank, and more visitors.
🔄 Convert WebP and AVIF Formats
- Option to automatically convert JPEG, PNG, or GIF to WebP and AVIF for better performance and improved Google ranking.
- Automatically optimize your existing WebP files with ShortPixel’s SmartCompress algorithm.
- Animated GIFs can be automatically converted to much smaller animated WebP or AVIF files.
- Option to include next-gen images (WebP and AVIF) in front-end pages with a single click using the tag.
📦 Bulk Image Optimization and Background Image Processing
- New! With ‘Background mode,’ images can now be optimized without needing to keep a browser tab open.
- Easily add recurring cron jobs for background optimization, ideal for sites where users upload images via the front end.
- Bulk-optimize all images in the Media Library or any gallery with a single click.
- Full WP-CLI support for background processing, especially useful for large Media Libraries.
🔥 Performance and Automatic Image Optimization
ShortPixel uses minimal resources and works well with any shared, cloud, VPS, or dedicated web hosting. It can optimize any image on your website, including those not listed in the Media Library, such as images in galleries or those added directly via FTP.
All optimization is performed using ShortPixel’s Image Optimization Cloud, so your hosting resources remain unaffected.
- New! Automatic scan of Custom media folders for new images using cron jobs.
- Skip already optimized images to avoid redundant processing.
🎨 Compatibility with Popular Themes, Page Builders, and Media Library Plugins
- Works great for eCommerce websites using WooCommerce and other plugins.
- Compatible with NextGEN Gallery, Modula, Foo Gallery, and other galleries or sliders.
- Fully compatible with WP Retina 2x, including automatic compression of retina images.
- Works seamlessly with WordPress multisite installs (sub-folders or sub-domains) using a single API key.
- Compatible with WPML and WPML Media plugins.
- Fully compatible with WP Offload Media plugin.
- Supports both HTTPS and HTTP websites.
- Compatible with virtually all hosting providers.
- Integrates with Gravity Forms’ post_image field type to optimize images upon upload.
- Works with watermarking plugins.
- Integrates directly with Cloudflare via a Cloudflare Token, automatically synchronizing updates with Cloudflare cache.
- New! HEIC file support
With ShortPixel, you can now add images in Apple’s HEIC format directly from your iPhone. They will be automatically converted to JPG and optimized according to your settings. Easy!
Read more.
🔧 Advanced Image Optimization Features
- NEW Smart Cropping: Generate subject-centered thumbnails using AI, ideal for eCommerce websites.
- Optimize thumbnails and featured images, with options to exclude individual thumbnails from optimization.
- Advanced exclusion options (exclude images based on filename, path, size, or complex regex).
- Ability to optimize any image, including those in NextGEN Gallery and other image galleries or sliders.
- Option to scale images down, with two automatic resizing options for large images (applicable to featured images).
- Option to deactivate auto-optimization of images on upload.
- Keep or remove EXIF data from images, which is especially useful for photographers or for enhanced privacy.
- Easily test lossy, glossy, or lossless versions of images with a single click in the Media Library.
- 100MB filesize limit
🛡️ Backup and Safety
- Safe to test and use: original images are backed up locally and can be restored with a single click (either individually or in bulk).
- No credits are used for images optimized by less than 5%
- Save & Restore option for all settings – ideal for agencies and users managing multiple websites.
- Decide whether AI bots can use your images for machine learning (ML) training, or block them entirely
📊 Reporting, Analytics, Compliance and Customer Support
- 30-day optimization report with detailed image statistics and overall site performance improvements.
- 24/7 stellar support.
- We are fully GDPR compliant.
🚀 New Plan: ShortPixel Unlimited
This is the ideal monthly plan for web agencies or website owners with multiple sites and frequent image uploads.
It allows you to optimize an unlimited number of images with ShortPixel Image Optimizer or use ShortPixel Adaptive Images without worrying about CDN traffic limits.
Read more details on our dedicated page.
- créditos de optimización gratuitos para organizaciones sin ánimo de lucro, contáctanos para más detalles
💸 How much does it cost?
ShortPixel comes with 100 free credits per month, and additional unlimited monthly credits can be purchased for $9.99.
One-time credit packages that never expire are available starting at $19.99.
Check out our prices.
🌟 Testimonials:
★★★★★ A Super Plugin works very well 62% reduction overall. robertvarns
★★★★★ The secret sauce for a WordPress website. mark1mark
★★★★★ A must have plugin, great support! ElColo13
★★★★★ Excellent Plugin! Even Better Customer Service! scaliendo
★★★★★ Great image compression, solid plugin, equally great support. matters1959
more testimonials
Ayúdanos a correr la voz recomendando ShortPixel a tus amigos y consigue 100 créditos de imagen adicionales mensuales de por vida por cada usuario activo referido. Gana dinero promocionando un magnífico plugin con nuestro programa de afiliación 30%.
🛠️ Other plugins by ShortPixel
- FastPixel Caching – WP Optimization made easy
- ShortPixel Adaptive Images – Optimización de imágenes sobre la marcha & entrega desde CDN
- Enable Media Replace – Reemplaza fácilmente imágenes o archivos en la biblioteca de medios
- reGenerate Thumbnails Advanced – Regenera miniaturas fácilmente
- Resize Image After Upload – Cambia automáticamente el tamaño de cada imagen subida
- WP SVG Images – Subida segura de archivos SVG a la biblioteca de medios
- ShortPixel Critical CSS – Genera automáticamente el CSS de antes de hacer scroll para tiempos de carga más rápidos y mejores puntuaciones SEO
📩 Get in touch!
- Email https://shortpixel.com/contact
- Twitter https://twitter.com/shortpixel
- Facebook https://www.facebook.com/ShortPixel
- LinkedIn https://www.linkedin.com/company/shortpixel
Acciones y filtros para desarrolladores
The ShortPixel Image Optimizer plugin calls the following actions and filters:
do_action( 'shortpixel_image_optimised', $post_id );
tras una optimización correcta;
do_action("shortpixel_before_restore_image", $post_id);
antes de restaurar una imagen desde una copia de seguridad;
do_action("shortpixel_after_restore_image", $post_id);
después de una restauración correcta;
apply_filters('shortpixel_image_urls', $URLs, $post_id);
filtra las URL que se enviarán a optimizar, $URLs es un arreglo simple;
do_action('shortpixel/image/after_restore', $this, $this->id, $cleanRestore);
Esta acción se puede usar para limpiar los metadatos de la base de datos, regenerar miniaturas después de restaurar el archivo principal, escribir los metadatos actualizados, etc.
apply_filters('shortpixel/settings/image_sizes', $sizes);
filtra el array ($sizes) de tamaños de imagen que se pueden excluir del procesamiento (mostrado en los ajustes avanzados del plugin);
apply_filters('shortpixel/image/imageparamlist', $result, $this->id, $this);
filters the list of parameters sent to the API so that resizing can be performed more granularly;
apply_filters('shortpixel/api/request', $requestParameters, $item_id);
filtra los parámetros enviados a la API de optimización (a través de $requestParameters), que se describen en detalle aquí: API de ShortPixel Reducer; $item_id contiene el ID del elemento de la biblioteca de medios o el ID del elemento de medios personalizados (cuando se usa). En resumen, este filtro se puede utilizar para modificar cualquier parámetro enviado a la API, según las necesidades. Por ejemplo, puedes establecer diferentes parámetros de cambio de tamaño para diferentes tipos de entradas, diferentes niveles de compresión, eliminar EXIF o no, convertir WebP/AVIF y básicamente cualquier otro parámetro que se envíe a la API para una imagen específica (junto con todas sus miniaturas).
This filter enables the background ShortPixel processing in additional pages (see here the original list). Here’s an example of this filter that enables the processing on the Comments screen (to be placed in your functions.php file):
add_filter('shortpixel/init/optimize_on_screens', function ($screens) {
$screens[] = 'edit-comments';
return $screens;
});
El edit-comments es el ID de la pantalla donde quieras activar el procesado.
Si quieres añadir varias páginas, el fragmento de código es así:
add_filter('shortpixel/init/optimize_on_screens', function ($screens) {
$screens = array('edit-comments', 'plugins', 'another-custom-post-type-page');
return $screens;
});
add_filter('shortpixel/image/filecheck', function () { return true; });
Este filtro fuerza una comprobación de archivos WebP/AVIF en caso de que se hayan eliminado manualmente del disco.
If you want to disable the automatic cache flush that is triggered after image optimization, you can use this filter:
add_filter( 'shortpixel/external/flush_cache', function() { return false; } );
Para definir miniaturas personalizadas para que se procesen en la optimización, tienes dos opciones, donde ambos defines tienen separaciones por comas:
define('SHORTPIXEL_CUSTOM_THUMB_SUFFIXES', '_tl,_tr');
gestionará miniaturas personalizadas como «imagen-100x100_tl.jpg»;
define('SHORTPIXEL_CUSTOM_THUMB_INFIXES', '-uae');
gestionará miniaturas personalizadas como «imagen-uae-100×100.jpg»;
define('SHORTPIXEL_USE_DOUBLE_WEBP_EXTENSION', true);
define('SHORTPIXEL_USE_DOUBLE_AVIF_EXTENSION', true);
dirá al plugin que cree extensiones dobles para las imagen WebP/AVIF equivalentes, por ejemplo, «imagen.jpg.webp»/«imagen.jpg.avif» para «imagen.jpg»;
Activa el «modo de confianza» en caso de que el sistema de archivos tenga limitaciones y responda muy lentamente a las operaciones directas de archivos añadiendo esta constante:
define('SHORTPIXEL_TRUSTED_MODE', true);
Esto simplemente omitirá las operaciones de comprobación de archivos y si la biblioteca de medios se carga muy lentamente o se cuelga, quizás quieras intentar añadir la constante anterior a tu archivo wp-config.php.
Disable the feedback survey when the plugin is deactivated:
define('SHORTPIXEL_SKIP_FEEDBACK', true);
Capturas

Select bulk optimization options. (Media -> Bulk ShortPixel)

Bulk optimization running. (Media -> Bulk ShortPixel)

Activate your API key in the plugin Settings. (Settings -> ShortPixel)

Plugin dashboard after entering the API key. (Settings -> ShortPixel)

Image Optimization settings. (Settings -> ShortPixel -> Image Optimization)

Exclusion settings. (Settings -> ShortPixel -> Exclusions)

Processing settings. (Settings -> ShortPixel -> Processing)

Next generation and delivery settings. (Settings -> ShortPixel -> WebP/AVIF and CDN)

Integrations. (Settings -> ShortPixel -> Integrations)

Tools. (Settings -> ShortPixel -> Tools)

Help Center. (Settings -> ShortPixel -> Help Center)

Check image optimization status, and restore or reoptimize the image. (Media -> Library)

Check image optimisation details. (Media -> Library -> Edit)

Comprueba el estado de otras imágenes optimizadas: imágenes de temas u otros plugins. (Medios>Otros medios)
Instalación
Vamos a ejecutar el plugin de ShortPixel en tu web WordPress:
- Regístrate usando tu correo electrónico en https://shortpixel.com/wp-apikey.
- Recibirás tu clave de API personal en un correo electrónico de confirmación, en la dirección que proporciones.
- Sube el plugin de ShortPixel a la carpeta /wp-content/plugins/
- Usa tu clave de API única para activar el plugin de ShortPixel en el menú «Plugins» en WordPress.
- Las imágenes subidas se pueden optimizar automáticamente en la Biblioteca de medios.
- ¡Hecho!
FAQ
-
¿Cómo es ShortPixel comparado con otros plugins de optimización de imágenes (por ejemplo, Smush, Imagify, TinyPNG, Kraken, EWWW), Optimole?
-
ShortPixel tiene constantemente mejores tasas de compresión junto con más funciones, soporte de copias de seguridad y tiene planes mensuales o de un solo uso muy asequibles.
Estas son un par de reseñas independientes:
AuthorityHacker – «ShortPixel es nuestra herramienta preferida, simplemente porque está bastante automatizada – básicamente dejamos que haga lo suyo.» (lee la reseña completa)
WP Modula – «Una de las razones por las que personalmente soy un gran admirador de ShortPixel es el soporte integrado para formatos de imagen de nueva generación como WebP.» (lee la reseña completa) -
¿Puedo usar la misma clave de API en múltiples sitios?
-
Sí, puedes hacerlo.
Mientras tengas créditos disponibles, ¡puedes usar una única clave de API en tantas webs como desees! -
¿Qué plan es el que más me conviene? ¿Qué me recomendáis?
-
Everyone has different needs, but generally, we recommend getting a One-Time plan to optimize your whole Media Library and then get a Monthly plan to optimize your future uploads. To learn more, have a look at this comparison
-
No sé cuántas miniaturas tengo, ¿qué plan debo coger?
-
Para saber cuantas miniaturas tienes, simplemente instala el plugin y ve a Medios > ShortPixel en lotes. El plugin te dirá cuántas miniaturas tienes. Según The plugin will tell you how many thumbnails you’ve got. Basado en esto, dale un vistazo a nuestros planes
-
¿Puedo mejorar o reducir fácilmente mi plan?
-
Por supuesto. Puedes actualizar o reducir tus planes con un par de clics desde tu cuenta en shortpixel.com.
-
¿Puedo probar/usar el plugin gratis?
-
Sí, puedes hacerlo.
Ofrecemos 100 créditos gratuitos de optimización de imágenes cada mes. Superar la cuota mensual gratuita pausará el proceso de optimización hasta que la cuota se restablezca o amplíe comprando uno de nuestros planes. -
¿Puedo optimizar imágenes que no existen en la biblioteca de medios?
-
Por supuesto.
De hecho, puedes optimizar cualquier imagen que tengas en tu sitio, independientemente de su ubicación. Solo tienes que añadir, en la sección Avanzado de los Ajustes de ShortPixel, las carpetas donde se ubican las imágenes que quieras optimizar y ShortPixel hará su magia y hará el resto. -
¿Puedo optimizar imágenes antiguas y nuevas?
-
¡Por supuesto!
Puedes optimizar todas tus imágenes y fotos, antiguas y actuales, usando nuestra página de «ShortPixel en lotes» en tus medios con un solo clic. -
¿Un crédito = una imagen optimizada?
-
Sí, eso es correcto.
Pero ten en cuenta que, por lo general, una imagen en la biblioteca de medios tiene 5 o más miniaturas asociadas. Cada miniatura optimizada requiere un crédito. Sin embargo, en los pocos casos en los que ShortPixel no optimice la imagen (con pérdida) en al menos un 5%, el crédito no se contará. -
¿Puedo restaurar mis imágenes? ¿Qué pasa con las originales?
-
Si eliges la opción «Copia de seguridad» en Ajustes/ShortPixel, la versión original de cualquier imagen o PDF optimizado se guardará en la carpeta de copia de seguridad.
La imagen original es necesaria si quieres restaurar una imagen o si quieres convertir una imagen de con pérdida / glossy a sin pérdida o viceversa. -
¿Qué tipos de formato se pueden optimizar?
-
ShortPixel optimiza los tipos de archivos JPEG (JPG, JPEG, JPEG 2000, JPEG XR), PNG, GIF (animados y fijos) y PDF.
-
¿Tenéis planes de un solo uso?
-
Sí, tenemos.
Los créditos que vienen con nuestros planes de un solo uso nunca caducan. ¡Bien! 🙂 -
¿Qué pasa con mis imágenes existentes?
-
Tus imágenes existentes son reemplazadas por las optimizadas.
Si eliges la opción de copia de seguridad, las originales se guardarán en una carpeta separada para que puedas restaurarlas si alguna vez necesitas/quieres hacerlo. -
¿Cómo funciona el plugin?
-
Nuestro ligero plugin envía las imágenes originales a nuestra Nube de optimización de imágenes, donde se comprimen. ShortPixel luego descarga las imágenes optimizadas y las originales sin optimizar se reemplazan con las versiones optimizadas.
-
¿Optimizáis las imágenes en la nube?
-
Sí, todas las imágenes procesadas por ShortPixel están optimizadas en la nube. Esto quita la carga de tu servidor y nos permite obtener los mejores resultados.
-
¿Qué métodos de pago son aceptados?
-
Aceptamos pagos con tarjeta (Mastercard, Visa, Maestro, American Express, Discover, Diners Club, JCB, UnionPay), PayPal y Apple Pay.
-
¿Cómo activo la clave de API en un multisitio?
-
Tienes que activar el plugin en la administración de la red y, después, activarlo manualmente en cada sitio individual del multisitio. Una vez que lo hayas hecho, aparecerá el menú de ajustes y podrás añadir la clave de la API para cada sitio individual.
Como alternativa, puedes editar el archivo «wp-config.php» y añadir esta línea:define('SHORTPIXEL_API_KEY', 'APIKEY');donde
APIKEYes la clave recibida de la API al registrarse.
Si se configura de esa forma, la clave de la API se usará para todos los sitios del multisitio, pero solo será visible en la página de ajustes del sitio principal, estando oculta para el resto de los sitios. -
No soy el único que trabaja en el escritorio de WordPress. ¿Cómo puedo ocultar mi clave de API?
-
Hay una sencilla forma de ocultar la clave de la API, todo lo que tienes que hacer es añadir estas dos líneas a tu archivo «wp-config.php»:
define('SHORTPIXEL_API_KEY', '<<your api key here>>'); define('SHORTPIXEL_HIDE_API_KEY', true); -
¿Cuánto es un crédito?
-
Se utiliza un crédito cada vez que ShortPixel optimiza una imagen o miniatura en al menos un 5%. Si no podemos optimizar una imagen o miniatura en al menos un 5%, no se utilizará ningún crédito 🙂
Ten en cuenta que, por lo general, las imágenes en tu biblioteca de medios tienen 3-5 miniaturas asociadas, y se utilizará un crédito por cada imagen destacada o miniatura asociada que se optimice. -
¿Por qué debería usar un plugin de WordPress y no una herramienta off-line?
-
Porque los algoritmos de ShortPixel se han perfeccionado al optimizar más de 3 mil millones de imágenes reales.
ShortPixel no solo ofrece la mejor compresión para archivos JPEG, PNG, GIF y PDF, sino que también te ahorra mucho tiempo. Simplemente instálalo en tu sitio y, a continuación, ShortPixel se encargará de que todas las imágenes de tu sitio se optimicen inmediatamente después de subirlas. -
No, ShortPixel solo optimiza las imágenes, no tocará nada más como tu HTML/CSS.
-
Si dejo de usar ShortPixel, ¿mis imágenes permanecerán optimizadas?
-
¡Por supuesto!
Una vez optimizadas, las imágenes permanecerán optimizadas a menos que elijas explícitamente restaurarlas. ¿Pero por qué hacer eso? 🙂 -
¿Tengo que pagar mensualmente o una vez?
-
Tenemos ambas opciones disponibles.
Los créditos de un solo uso nunca caducan y son un poco más caros. Echa un vistazo a nuestros precios aquí -
¿Cuándo puedo cancelar un plan mensual?
-
Cuando quieras.
Los créditos que aún tengas disponibles en el período de facturación actual seguirán estando disponibles hasta el final del período de facturación. Al final, no se te volverá a facturar y el plan se restablecerá al plan gratuito. -
¿Cuándo caducan los créditos?
-
Los créditos mensuales caducan después de 30 días, mientras que los créditos de un solo uso nunca caducan.
-
¿Tenéis una API?
-
Sí, tenemos varias APIs y herramientas.
Puedes obtener más información acerca de esto aquí:
https://shortpixel.com/api-tools -
¿Puedo usar el plugin de WordPress de ShortPixel en una instalación localhost?
-
Lamentablemente no 🙁
Pero puedes utilizar nuestra herramienta de línea de comandos o nuestra herramienta web
https://shortpixel.com/web-tool-docs
https://shortpixel.com/cli-docs -
¿Cómo funciona el redimensionamiento?
-
Si eliges la opción para cambiar el tamaño de las imágenes de tu sitio, entonces la imagen destacada puede ser redimensionada a un tamaño predefinido, manteniendo su aspecto y sus proporciones intactas. Las miniaturas asociadas no serán redimensionadas.
Con esta opción puedes subir de forma segura las imágenes originales sin necesidad de procesarlas previamente para hacerlas más pequeñas. -
¿Funcionará ShortPixel si mi web usa CloudFlare?
-
¡Por supuesto! A veces tendrás que asegurarte de poner algunas IPs en lista blanca. Simplemente contáctanos y te echaremos una mano.
-
Where do I report security bugs found in this plugin?
-
Please report security bugs found in the source code of the ShortPixel Image Optimizer plugin through the Patchstack Vulnerability Disclosure Program. The Patchstack team will assist you with verification, CVE assignment, and notify the developers of this plugin.
-
Does the plugin use any external services
-
This plugin integrates with Chatbase (https://www.chatbase.co) to provide AI-powered chat support directly within the plugin interface. This integration allows plugin users to ask questions and receive automated assistance. The only data collected is the Country(no city and no exact location) and the message itself.
Chatbase ToS.
-
Estoy atascado. ¿Qué hago?
-
El equipo de ShortPixel está aquí para ayudarte. ¡Contáctanos!
-
How do I compress images without losing quality in WordPress?
-
The best way to compress images without losing quality in WordPress is by using the ShortPixel plugin. ShortPixel automatically compresses images with lossless compression, ensuring the visual quality remains intact while significantly reducing file sizes. Once installed, it optimizes your images in just one click, improving your website’s loading speed and SEO performance. You can bulk optimize existing images or compress new ones as you upload them, all without sacrificing quality, making it an ideal solution for maintaining high-quality visuals and fast site performance.
-
What is image optimization?
-
Image optimization is reducing the file size of images without compromising their quality, to improve website performance. This can be done using tools like ShortPixel, which compresses images, converts them to more efficient formats like WebP, and ensures they are properly sized for faster loading times. Optimized images help improve website speed, enhance user experience, and boost SEO rankings by reducing page load time and bandwidth usage.
-
How to optimize a WordPress image?
-
The best way to optimize a WordPress image is by using the ShortPixel plugin. ShortPixel automatically optimizes images with both lossless and lossy compression options, reducing file size while keeping high visual quality. Once installed, it optimizes your images in one click, improving your site’s load speed and SEO. You can bulk optimize existing images or new uploads, ensuring fast site performance without sacrificing image quality, making it the ideal solution for WordPress image optimization.
-
How to SEO optimize images?
-
To SEO optimize images in wordpress, use the ShortPixel plugin to compress and convert them without losing quality, reducing load times—a key SEO factor. Add descriptive file names and alt text with relevant keywords to help search engines understand your images. Additionally, resize images to appropriate dimensions and consider converting them to WebP for faster performance. ShortPixel makes this entire process easy, helping improve both your SEO rankings and site speed.
-
How do you optimize images for performance?
-
To optimize images for performance in WordPress, use the ShortPixel plugin to compress images without sacrificing quality, reducing file sizes for faster load times. Convert images to efficient formats like WebP and ensure they are properly resized to fit your site’s design. ShortPixel automates this process in one click, boosting your website’s speed, improving user experience, and enhancing SEO—all key elements for optimal performance.
Reseñas
Colaboradores y desarrolladores
«ShortPixel Image Optimizer – Optimiza imágenes, convierte WebP & AVIF» es un software de código abierto. Las siguientes personas han colaborado con este plugin.
Colaboradores«ShortPixel Image Optimizer – Optimiza imágenes, convierte WebP & AVIF» está traducido en 19 idiomas. Gracias a los traductores por sus contribuciones.
Traduce «ShortPixel Image Optimizer – Optimiza imágenes, convierte WebP & AVIF» 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.
Registro de cambios
6.5.1
🛠️ The Hotfix Update
Release Date: May 5, 2026
🐛 Fixes
- Settings Page Fix: Resolved an issue affecting the Settings page in certain edge cases.
- Backups System Fix: Fixed an issue related to the new backups system that could appear in specific scenarios.
A small but important update to keep everything running smoothly! 🚀
6.5.0
🧠 The Smart Backups & AI Control Update
Release Date: May 5, 2026
✨ New Features
- Smart Backups: Save disk space by backing up only the main image. When restoring, thumbnails are automatically regenerated based on current settings.
- Automatic Backup Cleanup: Set rules to automatically delete old backups after a chosen period.
- Consistent prefix/suffix for AI SEO Data: You can now add fixed text before/after AI-generated image SEO data for full consistency across your site.
- Custom Media Re-Optimization: Re-optimize images directly from Custom Media bulk actions.
- Custom Media Pagination: Navigate large media sets more easily with new pagination controls.
⚙️ Improvements
- Smarter Title Replacement: Image titles are only replaced with AI-generated ones if they haven’t been manually edited (when overwrite protection is enabled).
- Better Error Messaging: Improved the “401 Unauthorized” message in the AI SEO Preview for clearer feedback.
- PNG Handling Improved: Improved the PNG to JPG conversion to better handle alpha channels.
- AI Context Limits: Added proper limits to AI context fields to prevent truncation issues.
- Bulk Stability: Introduced slight delays in Media Library bulk actions to avoid server overload.
- Paused Processing Logic: Restoring an item now cancels any paused processing to avoid unnecessary actions.
- UI Enhancements: Improved text clarity and layout across settings, bulk processing, and the ShortPixel panel in wp-admin.
🔄 Compatibility Updates
- NextGen Gallery (Imagely): Integration restored using updated hooks and filters.
- AI with EXIF Restrictions: AI generation now works even if EXIF blocks training (alternative data retrieval is used).
- Offload Media Support: Improved compatibility with offloading plugins, including full support for the new Smart Backups.
- Enable Media Replace: Image SEO data is now cleared when an image is replaced.
- WPML Support: Manually generate AI SEO data in different languages for multilingual sites.
🛠️ Fixes
- Backup System Refactor: Fixed multiple edge cases and improved reliability across all backup scenarios.
- Long Processing Safeguards: Added checks for images that take too long to process or become unavailable.
- Alias API Key Handling: Prevent unnecessary re-queuing for domains not allowed by Alias API keys.
- AI Disabled Message Cleanup: Removed misleading “AI Generation Disabled” responses to avoid conflicts with editors/builders.
- Database Optimization: Added indexes for the aipostmeta table for better performance.
- Queue Stability: Ensure blocked items are released properly on shutdown to avoid stuck processes.
- JS & jQuery Fixes: Resolved deprecation warnings and improved frontend stability.
- Filesize Exclusion Fix: Fixed a JavaScript issue that prevented filesize-based exclusions from working correctly.
Update now to unlock smarter backups, better AI control, and improved compatibility across your entire workflow! 🚀
6.4.4
🌿 The Spring Update
Release Date: March 24, 2026
✨ New Feature
- Exclusions by Filesize: You can now exclude images from optimization based on their file size, giving you even more precise control over what gets processed.
🛠️ Fixes
- Bulk Operation Messaging: When running bulk actions other than optimization, the correct descriptive text is now displayed.
- PICTURE Tag Fixes:
- Fixed issues with certain background images not being handled correctly.
- Multiple improvements to ensure correct paths and compatibility with Bedrock setups.
- Long Domain Handling: Fixed cases where very long domains caused CDN URL replacement to fail.
- Invalid API Key Feedback: A proper message is now shown in the AI settings preview when an invalid API key is used.
- AI Disabled Notice Scope: «AI generation disabled» message now appears only in the settings preview to avoid conflicts (especially with the Classic Editor).
- Async Chatbot Loading: The chatbot now loads asynchronously in settings to prevent slowdowns when CDN responses are delayed.
- JS Worker Stability: The JavaScript worker no longer stops if invalid JSON is received from the backend.
- LS Cache Compatibility: Fixed incompatibilities with LiteSpeed Cache and certain custom media folder setups.
- Custom Media Errors: Resolved errors occurring during optimization of specific custom media folders.
- open_basedir Improvements: Additional safeguards to prevent warnings with strict open_basedir configurations.
- PHP 8.4 Deprecation Fix: Fixed a rare deprecation warning on PHP 8.4.
🛡️ Security Fixes
- PHP Object Injection: Patched a potential vulnerability related to AI-generated SEO data (reported by PatchStack).
- Stored XSS (Author+): Fixed an authenticated stored XSS vulnerability when using AI features (reported by WordFence).
✨ Tweaks & Improvements
- Wording & Layout Updates: Small improvements to texts and settings layout for a cleaner and clearer experience.
Update now for stronger security, improved compatibility, and smarter control over your optimization workflows! 🚀
6.4.3
❄️ The Snowy Update
Release Date: January 29, 2026
🛡️ Security Fix
- Editor-Level Access Patch: Fixed a potential vulnerability (responsibly reported by the WordFence team) where an authenticated Editor user could access arbitrary files.
🛠️ Fixes & Improvements
- Bulk Restore Display Fix: Resolved an issue where the final step of the bulk restore process wasn’t being shown.
- Bulk Labels Added: Each bulk action (restore, legacy migration, etc.) now shows a clear label for better tracking and transparency.
- Custom Media Queue Info: Added more detailed status info for Custom Media items in the queue, now similar to what’s shown in the Media Library.
- Respect Image Title Overrides: The AI will no longer overwrite image titles if the «Preserve existing data» option is enabled.
- No Period on AI Titles: Removed the automatic period added at the end of AI-generated image titles.
- New Picture Tag Filter: Developers can now hook into a new filter for customizing how next-gen images are delivered via the tag.
- Improved CDN Detection: Enhanced logic to detect images declared across multiple lines when replacing with CDN links.
- Disabled AI Fields Visibility: AI fields that are disabled in settings are now clearly marked in both the Settings preview and the Bulk Processing preview.
- Bulk Logs Preserved: Logs from bulk processing are now retained even when backups are cleared via the Tools menu.
- Multisite Settings Hidden: Temporarily hid the multisite settings menu due to related errors – it will return in a future release.
- Correct Parent Page Context: Ensured that the parent post/page context of an image is properly sent to the AI API for better SEO relevance.
Update now for a more secure, transparent, and intelligent optimization experience! 🚀
6.4.2
📊 The Optimization Update
Release Date: January 15, 2026
🛠️ Fixes & Improvements
- Media Library Optimization Display: Fixed an issue where optimized images were always shown as «bonus optimization» — the stats now reflect actual results.
- Bulk UI Improvements: Cleaned up the layout of the bulk processing screen when only a few options are selected, for a more focused experience.
- Percentage Hidden for Non-Optimization Actions: Removed the optimization percentage display when running bulk operations like restore or data migration (that don’t involve actual image optimization).
- AVIF via .htaccess for WebPs: Added support for AVIF delivery using the .htaccess method for images added directly in the WebP format.
- AI SEO Preview Fix: Prevented display of incorrect data in the AI SEO Preview section within plugin settings.
- SmartCrop Percentage Display: Fixed the issue where SmartCrop could show a negative improvement percentage if the cropped image ended up larger in size.
- JPG to PNG Conversion Fix: Resolved a rare error when JPG files saved as PNG conflicted with the PNG-to-JPG conversion setting.
- PHP 8.5 Deprecation Fix: Fixed a deprecation warning added in PHP 8.5, thanks to @mondalaci.
- Text & Typo Corrections: Polished various texts and corrected typos on the Bulk and Settings pages.
Update now for clearer stats, smarter previews, and a smoother optimization experience across the board! 🚀
6.4.1
🎄 The Christmas Update
Release Date: December 18, 2025
🎁 Fixes & Improvements
- Temporary File Cleanup: Introduced a mechanism to automatically clean up temporary files after optimization, keeping your server tidy.
- Zero-Byte File Protection: Prevents copying of 0-byte files from the /tmp/ folder in cases of permission errors or low tmp disk space.
- IIS Compatibility Fix: Resolved a timestamp-related warning on IIS servers using 32-bit PHP environments.
- Download Timeout Limit: Added a 25-second cap on item downloads to prevent conflicts with PHP’s 30-second timeout.
- Manual Mode Debug Fix: Fixed an issue in the debug menu from the plugin settings when using manual debug mode.
- Custom CDN Field Fix: Corrected a conflict where the custom CDN field was hidden if the «Premium Add-ons for Elementor» plugin was active.
- Wording Improvements: Made several small text updates for better clarity throughout the plugin.
Update now and enjoy a smoother, more festive ShortPixel experience! 🎅🚀
6.4.0
🧠 The Ultimate AI Update
Release Date: November 20, 2025
✨ New Features
- AI Image Upscale (2x, 3x, 4x): Upscale smaller images with high-quality AI upscaling, perfect for retina displays and crisp visuals.
- AI Background Removal: Instantly remove image backgrounds with one click, great for clean product photos or transparent assets.
- AI Image Titles: In addition to ALT text, captions, and descriptions, you can now generate smart image titles using AI for better SEO.
- Date-Based Exclusions: Easily exclude images from processing based on their upload date.
- Bulk Optimization by Date Interval: Run bulk optimization on a selected date range for precise control over what gets optimized and when.
🔄 Compatibility Updates
- Infinite Uploads Integration: ShortPixel now works seamlessly with the Infinite Uploads plugin.
- SliceWP Fix: Fixed an error triggered when the REST API of SliceWP was active.
🛠️ Fixes & Improvements
- Bulk UI Redesign: The bulk processing interface has been reworked for a smoother, more intuitive experience.
- Help Links Fixed: Resolved broken links in help pop-ups throughout the settings.
- SmartCrop Logic Tweaked: Thumbnails cropped with SmartCrop no longer trigger unnecessary size checks.
- Notification Scope Limited: Offer-related notifications now only appear on ShortPixel-specific pages like Settings and Bulk.
- Banner Visibility Control: All banners in the settings can now be hidden using a simple filter, cleaner UI for advanced users.
- File Conversion Stability: Fixed potential infinite conversion loops when uploading HEIC, TIFF, or BMP files.
- WP-CLI AI Data Fix: Added checks to prevent regenerating AI image data via WP-CLI when it already exists, saving time and resources.
Update now to unlock powerful new AI features, refined bulk controls, and a cleaner, smarter interface! 🚀
6.3.5
🔐 The SmartCrop & Security Fix Update
Release Date: October 16, 2025
🛠️ Fixes & Improvements
- SmartCrop Re-Optimization Fix: The “Re-optimize with/without SmartCrop” feature now correctly follows the selected action instead of always applying the saved setting.
- AI SEO Preview Credit Message: A clear message is now displayed in the AI SEO preview (from Settings) when you’re out of credits.
- French Locale Compatibility: Fixed an issue that prevented plugin deactivation when WordPress was set to French due to a language-related error.
- AI SEO Limits Save Fix: The limits for AI-generated SEO text fields are now properly saved in the settings.
- Bulk Background Mode Stability: Addressed intermittent failures of background processing in specific cron configurations.
- Security Fix – Settings Import/Export: Patched a vulnerability that could allow contributor-level users to import/export plugin settings. Thanks to the WordFence team for the responsible disclosure!
- CDN Link Fix for Inline Backgrounds: Inline background images using single quotes are now correctly replaced with CDN links.
- Nonce Validation Improvement: Added checks for key form fields to prevent «nonce failed» errors when other plugins modify form data.
- Inline Background-Image Fix: Ensured that all inline background-image styles end with a semicolon (;) when using the PICTURE tag to deliver next-generation images.
Update now for stronger security, improved SmartCrop behavior, and a smoother image SEO experience! 🚀
6.3.4
🤖 The Smarter AI Control Update
Release Date: September 18, 2025
✨ New Features & Improvements
- Preserve Existing SEO Data: Added an option to keep your existing ALT, caption, and description fields untouched when using AI-generated image SEO — your manual work is safe!
- Better Block Editor Integration: AI-generated SEO data and image optimization now work flawlessly when uploading images directly from the block editor.
- AI Support Chatbot: Meet our new AI-powered support assistant — here to help you faster, 24/7.
🛠️ Fixes & Behavioral Improvements
- Full AI Deactivation: Disabling AI Image SEO now also disables auto-generation and hides all related options from WP Admin, including the Bulk Processing section.
- EXIF-Based AI Training Block: If AI training is blocked via EXIF data, the plugin now shows a clear message and prevents the image from being sent for processing.
- Re-Optimize Logic Fixed: The «Re-optimize with/without SmartCrop» buttons now respect the selected option instead of always using the saved setting.
- Inline Font Handling: Inline fonts will no longer be replaced with CDN links if the CSS option is disabled.
- AI SEO for Excluded Items: Bulk AI SEO generation now skips excluded items as expected.
Update now for smarter AI behavior, more control over your data, and an improved support experience! 🚀
6.3.3
🧠 The Smarter ALT Tags Update
Release Date: August 21, 2025
🛠️ Fixes & Improvements
- Reliable ALT Tag Replacement: The replacer module now ensures AI-generated ALT tags are updated correctly in all scenarios.
- Cache Purge for Visibility: Automatically clears the cache after ALT tag replacement, ensuring changes show up even when object caching is enabled.
- AI Settings Limits: Added max values for AI context and output fields to prevent excessive input and ensure consistent results.
- UI & Wording Tweaks: Minor text and layout improvements on the settings and bulk processing pages for a cleaner experience.
Update now for smoother AI integration and more accurate image SEO handling! 🚀
6.3.2
🧠 The AI SEO Compatibility Update
Release Date: August 20, 2025
🛠️ Fixes & Improvements
- Yoast SEO + Classic Editor Fix: Resolved a JavaScript error that occurred when using Yoast SEO alongside the Classic Editor.
- Improved AI Data Layout: The display of AI-generated image SEO data in the Media Library has been refined for better clarity and usability.
- Accurate Undo Function: Undoing AI-generated data from the Media Library popup now correctly reverts all related fields.
Update now for a smoother, more reliable SEO and editing experience! 🚀
6.3.1
🔥 The Quick Fix Update
Release Date: August 19, 2025
🛠️ Fixes & Improvements
- Draft Content Preservation: AI Image SEO data generation now respects and preserves content from draft posts.
- Cleaner Media Library Display: ShortPixel info is now shown only in the designated column, so no more unexpected placements.
- Classic Editor Compatibility: Resolved JavaScript errors appearing in the post editor when using the Classic Editor.
A focused hotfix to ensure a smoother experience after the latest major release. Update now! 🚀
6.3.0
✨ The AI Image SEO Update
Release Date: August 18, 2025
🌟 New Features
- Faster AI Model: We’ve upgraded to a better, faster AI model for generating image SEO data more accurately and efficiently.
- Expanded SEO Tags: In addition to ALT tags, you can now automatically generate image captions and descriptions to enhance SEO and accessibility.
- Auto-Generate on Upload: Image SEO data can now be generated automatically for newly uploaded images.
- Bulk SEO Generation: Easily generate image SEO data in bulk, perfect for optimizing existing media libraries.
- Language Selection: Choose the language used for image SEO generation directly from the plugin settings.
🛠️ Fixes & Improvements
- Cache-Control Headers: WebP and AVIF images now include cache-control headers when delivered via .htaccess, improving cache behavior.
- Thumbnail Handling: If a main image in a special format (like BMP/TIFF) is excluded from optimization, its JPG thumbnails are no longer excluded incorrectly.
- WooCommerce SVG Fix: Fixed an issue where certain SVG icons for payment methods weren’t correctly replaced with CDN links on the WooCommerce cart.
Update now to take full advantage of smarter image SEO with AI and better compatibility across your site! 🚀
6.2.2
🧠 The Smart Media Update
Release Date: July 29, 2025
⚙️ Improvements
- Enhanced REST API Support: Two new parameters added to the WordPress REST API for media items — source_url_webp and source_url_avif — making it easier to access next-gen image formats programmatically.
- Media Library Filter: Introduced a new filter to hide the ShortPixel box from specific areas in the Media Library — perfect for a cleaner UI when needed.
🛠️ Fixes
- 404 Page Styling: Fixed an issue where CSS was broken on 404 pages when CDN delivery was enabled.
- Large PNG Restore Fix: Resolved errors that occurred when restoring backups of large PNGs with scaled versions generated by WordPress.
- Improved CDN Replacement: Images using data-srcset are now correctly replaced with CDN links when delivery is enabled.
- SmartCropping Upload Issue: Fixed a bug where SmartCropping didn’t work correctly when automatic optimization on upload was turned off.
- Queue Stability: Added a safeguard for rare cases involving old items in the processing queue that could trigger errors.
Update now for better REST API support, improved CDN handling, and a smoother media optimization experience! 🚀
6.2.1
🚀 The CDN & AI Control Update
Release Date: May 27, 2025
⚙️ Improvements
- AI Feature Control: Added a filter to easily disable AI-powered features if needed.
CDN Delivery Enhancements:
* Now supports background images inside inline style blocks.
* Delivers inline SVGs through the CDN for consistent asset performance.
* Fallback for Missing WebP/AVIF: If WebP or AVIF images aren’t generated locally, they’ll now be created on-the-fly and served directly from the CDN.
* Broken Image Protection: Added checks to ensure the CDN doesn’t store or deliver broken images.
- Improved Timestamp Handling: Timestamps are now added whenever images are sent for optimization, helping prevent unwanted caching.
- PNG Conversion via ImageMagick: Added fallback support for PNG conversion using ImageMagick when the GD extension isn’t available.
- Punctuation Tweak for AI Texts: AI-generated alternative texts now end with a trailing dot for readability (can be disabled via filter).
🛠️ Fixes
CDN Delivery:
* Fixed multiple edge cases where image URLs with single/double quotes were not parsed correctly.
* Corrected issues with relative paths not resolving to the proper CDN URL.
* Resolved an issue where CDN links were accidentally duplicated in specific situations.
- Settings Import: Fixed import functionality for older PHP versions.
- WebP/AVIF Count Fix: Image counts in bulk processing now display correctly again.
- S3 Uploads Compatibility: Fixed an error triggered by a missing method when using the S3 Uploads plugin (thanks @matthewgrzegorczyk! 🙌).
- WP-CLI Message Bug: Corrected a misleading WP-CLI message shown when thumbnails were unwritable but main images were optimized.
- Custom Media Folder Fix: Resolved errors in the folders list when performing specific actions.
🌍 Language Updates
- Added 2 new strings and updated 2, to enhance global translation support.
Update now to take full advantage of smarter CDN handling, more control over AI features, and improved compatibility across the board! 🚀
6.2.0
🚀 The Power Tools Update
Release Date: May 8, 2025
🌟 New Features
- Smart WebP Compression: ShortPixel now compresses your existing WebP images to save even more space without sacrificing quality.
- AI-Powered Image Captioning (BETA): Automatically generate meaningful “alternative text(ALT)” for your images using our AI model—great for SEO and accessibility!
- Global CDN for CSS & JS: Your CSS, JS, and even background images can now be served via ShortPixel’s global CDN for faster page loads.
- CDN Cache Purge Controls: New buttons to purge cached CSS, JS, or the entire CDN cache with one click—right from your dashboard.
- Save & Restore Settings: Export and import all settings effortlessly — ideal for agencies managing multiple sites.
⚙️ Improvements
- Cross-Tab Sync: Optimizations done in multiple browser tabs now stay in sync using browser broadcasting.
- Automatic Association to ShortPixel Account: Your site domain is now automatically associated to your ShortPixel account when enabling CDN delivery.
- CDN Domain Validation: Prevent misconfigurations with smart validation of your CDN domain format.
- Cleaner Admin Bar: The ShortPixel icon is now hidden when restoring items to keep your admin interface tidy.
- CDN Bypass Option: Append
?PageSpeed=offto disable CDN replacement for debugging or testing. - WebP Limit Handling: Files that exceed WebP conversion limits are now properly managed to avoid errors.
🛠️ Fixes
- Lossless Labeling Bug: Fixed an issue where images were incorrectly marked as «Lossless» if the main image wasn’t optimized.
- Sticky Notification: Resolved an issue where the API key notification couldn’t be dismissed after saving it from settings.
- Folder Creation Fix: The plugin no longer attempts to create month-based folders—it now leaves that job to WordPress.
- File Format Conversions: Improved support for HEIC, TIFF, and BMP file conversion.
- API Key Onboarding Fix: Pressing Enter now correctly saves your API key during onboarding.
🌍 Language Updates
- Added 87 new strings, updated 2, and deprecated 28 to enhance global translation support.
Update now for faster speeds, smarter automation, and more control than ever! 🚀
VERSIONES MÁS ANTIGUAS
- por favor, consulta el archivo changelog.txt dentro de los archivos del plugin.