What is ShortPixel plugin?
ShortPixel Image Optimizer is a widely respected WordPress image optimization plugin that consistently ranks among the top performers in independent compression benchmarks. It supports JPEG, PNG, GIF, PDF, WebP, AVIF, and HEIC formats — one of the broadest format support lists in the category. ShortPixel uses an API-based optimization approach: images are sent to ShortPixel’s servers, compressed, and returned, with originals backed up locally. The plugin offers three compression levels: lossless, lossy, and glossy (a middle ground that preserves perceived quality while achieving significant file size reduction).
Pricing is credit-based: the free tier provides 100 credits/month, with paid plans starting at $9.99 for 10,000 credits (one-time purchase) or monthly subscription options. One credit equals one processed image or thumbnail, which means a single uploaded image may consume multiple credits if WordPress generates several thumbnail sizes. ShortPixel also optimizes custom folders outside the media library (useful for theme images and plugin assets), integrates with NextGEN Gallery, and supports Cloudflare CDN cache invalidation after optimization.
For WooCommerce stores with large product image libraries, photography sites, and portfolios, ShortPixel’s combination of strong AVIF/WebP conversion, no per-image size limit, and flexible credit-based pricing makes it a top recommendation. It pairs well with WP Rocket or LiteSpeed Cache for a comprehensive page speed optimization stack.
Need Help With ShortPixel Setup, Troubleshooting, or Customization?
Need help with ShortPixel? Whether you are dealing with errors, broken functionality, styling problems, plugin conflicts, or advanced customization, we can help you fix the issue and get the plugin working properly on your WordPress site.
Get ShortPixel Expert HelpKey Features
- Compression in three levels: lossless, lossy, and glossy
- Formats: JPEG, PNG, GIF, PDF, WebP, AVIF, HEIC
- API-based optimization with local backup of originals
- Custom folder optimization for non-media-library images
- NextGEN Gallery integration
Pros & Cons
Pros
- Top-tier compression results in independent benchmarks — especially JPEG and AVIF
- Broad format support including AVIF and HEIC
- No per-image size limit unlike Smush free
Cons
- Credit-based pricing can be unpredictable — sites with many thumbnail sizes consume credits faster
- Free tier (100 credits/month) exhausted quickly on active sites
Free vs Premium
Free: 100 credits/month. One-time credits: $9.99 for 10,000, $29.99 for 35,000, scaling up. Monthly plans also available. API key works on unlimited sites. Credits are shared across all connected sites.
Common Problems & Fixes
ShortPixel is using more credits than expected — why?
Each image thumbnail generated by WordPress consumes a separate credit. A single uploaded image with 5 registered thumbnail sizes uses 5 credits. If WebP or AVIF conversion is enabled, each size generates an additional converted version — doubling or tripling credit consumption per upload. To reduce credit usage: go to ShortPixel → Settings → Advanced and disable AVIF if not needed; reduce the number of WordPress-generated thumbnail sizes by cleaning up unused sizes via a plugin like Regenerate Thumbnails. Check the ShortPixel dashboard for a detailed breakdown of credit consumption.
ShortPixel is not processing images after my API credits ran out — how do I resume?
Once credits are exhausted, ShortPixel queues images but does not process them. Purchase additional credits in the ShortPixel dashboard (accessible from your WordPress admin via ShortPixel → Your Account). After adding credits, go to ShortPixel → Bulk SmushPixel and restart the bulk optimization — previously queued images will process using the new credits. Monthly plan subscribers have their credits refreshed automatically at the billing cycle.
After ShortPixel optimization, some images look noticeably degraded — how do I recover them?
ShortPixel backs up original images before processing (if backup is enabled in settings). Go to ShortPixel → Settings and confirm backup is enabled. To restore specific images, go to the media library, open the attachment details, and click Restore Original in the ShortPixel panel. To restore all images, use the Bulk SmushPixel tool with “Restore all” option. After restoring, switch from Lossy to Glossy or Lossless compression and re-process for a better quality/size balance.
Customization & Developer Notes
How do I set up ShortPixel to optimize custom folders outside the media library?
Go to ShortPixel → Other Media → Custom Folders. Add the absolute server path to any folder you want to optimize — for example, /wp-content/themes/your-theme/images/ or /wp-content/plugins/your-plugin/assets/. ShortPixel will scan and optimize images in these folders alongside the media library. This is particularly useful for theme and plugin image assets that are not uploaded through the media library but still affect page load size.
Can ShortPixel convert all images to WebP or AVIF automatically?
Yes. In ShortPixel → Settings → Advanced, enable WebP Conversion and/or AVIF Conversion. ShortPixel creates WebP/AVIF versions of each image alongside the originals. For WordPress to serve these versions, configure your server to deliver WebP/AVIF to supporting browsers — ShortPixel provides .htaccess snippet instructions for Apache. On Nginx, add server-level rules to check for WebP file existence and serve it. Alternatively, ShortPixel’s CDN option handles format negotiation automatically.
Frequently Asked Questions
How does ShortPixel's credit system compare to Imagify's monthly quota system?
ShortPixel uses one-time credits (or monthly subscription) that roll over — unused credits are not lost at month-end with a one-time purchase. Imagify uses a monthly quota that resets regardless of usage. For sites with seasonal traffic patterns or irregular upload schedules, ShortPixel’s one-time credits are more economical — you pay for what you use. Imagify’s monthly subscription is simpler if your upload volume is consistent.
Does ShortPixel support AVIF image format?
Yes — ShortPixel supports AVIF conversion, which is the next-generation format beyond WebP. AVIF typically achieves 20–30% smaller file sizes than WebP at equivalent quality. ShortPixel is one of the few WordPress optimization plugins with AVIF support. Browser support for AVIF continues to expand — as of 2025, Chrome, Firefox, Safari, and Edge all support AVIF. Enable it in ShortPixel settings for maximum compression on modern browsers.
Can ShortPixel break after updates?
Yes, that can happen, especially on older sites with many plugins. This usually happens when the plugin, theme, and add-ons are updated out of sequence. In most cases, testing on staging catches the issue before it reaches the live site. From experience, backups and changelog reviews save a lot of cleanup time.
What should I check before installing ShortPixel?
Start by checking whether another plugin already does the same job. In most cases, overlap is what creates avoidable conflicts and performance issues. A common issue is installing a plugin because it looks convenient without checking the stack first. From experience, a short compatibility review avoids most of the pain later.