Linux 软件免费装
Banner图

Squeeze – Image Optimization & Compression, WEBP Conversion

开发者 barb0ss
更新时间 2026年6月20日 01:54
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv3
版权网址: 版权信息

标签

optimize images compress images image compression webp converter image optimization

下载

1.6.6 1.6.2 1.6.3 1.6.5 1.7.4 1.7.7 1.6.7 1.5.1 1.6.1 1.4.3 1.4.4 1.4.5 1.4.6 1.4.8 1.5 1.7.9 1.5.2 1.6 1.6.4 1.7.0 1.7.1 1.7.10 1.7.2 1.7.3 1.7.5 1.7.6 1.7.8 1.1 1.2 1.4 1.3 1.4.1 1.4.2 1.0 1.4.9 1.4.7

详情介绍:

Looking for a WordPress image optimizer without an API key? Squeeze is a local WebP converter that lets you compress images in WordPress, convert uploads to WebP, and bulk compress your media library without ShortPixel-, Imagify-, or Smush-style monthly caps. Processing runs in your admin browser—unlimited squeezes, full privacy, and no uploads to third-party compression servers. If you need a webp converter wordpress plugin, a shortpixel alternative without recurring API fees, or an image optimizer without api keys, Squeeze keeps optimization on your server and in your browser instead of a SaaS queue. Unlike cloud-based plugins, Squeeze: ♾️ No compression limits — squeeze your entire Media Library, not just the first 100–500 images per month. ☁️ No third-party servers — images never leave your site; processing happens locally in the browser (ideal for GDPR-sensitive and membership sites). ⚡ Direct WebP conversion — convert JPG/PNG to WebP and replace the original file on disk (no duplicate copies cluttering storage). 🖼️ Optimize on upload — compress in Gutenberg, GenerateBlocks, and the Voxel theme before files hit the server (Elementor on-upload squeeze is available in Premium). The result: smaller files, faster page loads, and lower hosting storage—without SaaS fees or API keys. Squeeze official website | Plugin documentation

安装:

  1. Install Squeeze from the WordPress Plugin Directory (Plugins → Add New → search “Squeeze image” or “webp converter wordpress”).
  2. Activate the plugin.
  3. Go to Settings → Squeeze and enable Squeeze on upload and Direct WebP conversion if you want automatic WebP for new uploads.
  4. First squeeze: open Media Library, click any image, and use Squeeze on the attachment screen—or run Bulk Squeeze under Settings → Squeeze for existing library images.
  5. Optional: test Direct WebP on a staging copy before enabling on a live site with hard-coded image URLs.

屏幕截图:

  • Squeeze's Bulk Compression Page
  • Squeeze's Restore and Recompress Options
  • Direct conversion of an image into WEBP format. The original image is being replaced by the compressed image in WEBP format.
  • A method of replacing images URLs with the corresponding WEBP versions.
  • Squeeze's Basic Settings
  • Squeeze's JPEG compression settings
  • Squeeze's PNG compression settings
  • Squeeze's WEBP compression settings
  • Squeeze's AVIF compression settings
  • Squeeze's Bulk actions in the List view of the Media Library
  • Squeeze's Filter in the Grid view of the Media Library
  • Squeeze images directly on upload in Gutenberg or GenerateBlocks builder.
  • Preview image with live Squeezing options (Premium feature)
  • Bulk Squeeze from a page (Premium feature)

升级注意事项:

1.8.0
  • WP Offload Media compatibility: WebP files are now automatically pushed to external storage (S3, GCS, etc.) and served from the CDN.
1.7.9
  • WebP delivery settings updated (three modes), Voxel upload support, Premium CDN URL for all WebP modes.
1.7.5
  • Updated notifications texts and icons
  • Upgraded the Freemius version
1.7.4
  • Replacing existing JPG/PNG images to WebP related from Direct WebP conversion
1.7.3
  • Added compatibility with Filebird plugin
1.7.1
  • Fixed Editor's interception request bug
  • Add notification if Canvas extraction is blocked
1.7.0
  • Added direct WEBP conversion option
  • Compress newly uploaded images immediately, not after they being uploaded to the server
  • Skip uploading the compressed image, if it becomes larger than original after compression
  • Fixed account tab on the Settings page
  • Added explanation screenshots for some options on the Settings page
1.6.5
  • Added bulk Squeeze in the Grid mode
  • Refactored JS code
  • Fixed filesize after Squeezing (on page reload)
  • Fixed load_text_domain bug, caused by Freemius
1.6.4
  • Changed PNG compression script and related settings
1.6.3
  • Removed Freemius from the free version
1.6.2
  • Pro version available
1.6.1
  • Fixed vulnerabilities
1.6
  • Refactored PHP: converted to Classes, exploded complex functions
  • Refactored JS: exploded complex functions, add html templates to separate business logic from layouts
1.5.2
  • Fixed WEBP conversion
  • Added option to select image formats
1.5.1
  • Fixed webworker bug: terminate it on complete squeezing
1.5
  • Added WEBP serving for JPG and PNG images.
  • Minor UI updates (savings label on the comparison table)
1.4.9
  • Added UI popup for bulk directory squeeze
  • Added filters to the Media Library
1.4.8
  • Added webworker
  • Fixed pause/resume on bulk Squeeze
  • Minor UI/UX updates
1.4.7
  • Updated plugin's UI and description
  • Moved JS and CSS backend to external files
  • Added sprite.svg for backend icons
  • Updated restore defaults handler function
1.4.6
  • Bulk compress option for the list view of the Media Library
  • Pause/Resume option for the bulk compress process
  • Fixed bugs with the list mode
  • Fixed bug when bulk process stuck if image processing failed
  • Added timeout for image compression process
  • Refactored JS code
1.4.5
  • Add bulk restore option to the list view of Media Library
  • Compress selected thumbnails separately
1.4
  • Add AVIF support
1.3
  • Add WEBP support
  • Update settings page layout with tabs
  • Add ability to re-compress images
  • Add ability to compress images from custom directory
1.2
  • Fix minor bug in Media library
1.1
  • Fix PNG compressor
1.0
  • First release.

常见问题:

How does the plugin work?

Squeeze compresses images in your browser using Web Workers and open-source codecs (MozJPEG for JPEG, Browser Image Compression for PNG, WebP and AVIF encoders). You can squeeze from the Media Library, bulk tools, custom folders, or during upload in supported editors.

Do I need an API key or cloud account?

No. Squeeze does not require ShortPixel, Imagify, or any third-party API. There are no per-month image caps imposed by the plugin.

What makes Squeeze different from ShortPixel, Imagify, or Smush?

  • Unlimited squeezes (no SaaS quota).
  • Privacy: files stay on your server; compression runs in the admin browser.
  • Direct WebP can replace originals instead of keeping parallel JPG + WebP copies.
  • No recurring API cost for compression itself.
  • Niche integrations: Voxel pre-upload, Gutenberg/GenerateBlocks on upload; Elementor in Premium.

How fast is compression?

Speed depends on your computer and image size. Large PNGs can take longer; increase Squeeze timeout under Settings → Squeeze → Basic Settings if needed.

Are images sent to an external server?

No. Processing is client-side in wp-admin (and in supported front-end upload flows). Your image bytes are not sent to Squeeze’s servers for compression.

Can Squeeze convert images to WebP?

Yes. Enable Direct WebP conversion under Basic Settings to convert new uploads to WebP and replace the original file. You can also use legacy modes that keep JPG/PNG and store WebP in wp-content/squeeze-webp/ with URL rewrite or .htaccess delivery.

Is it safe to replace images with WebP?

Yes for new uploads when you understand URL changes. For existing sites, test on a staging copy first. Replace Image URLs rewrites src in page HTML at render time (database URLs unchanged). If you deactivate the plugin while Direct WebP is on, some hard-coded .jpg links may break — reselect images from the Media Library or restore from .bak backups.

Will images break if I deactivate the plugin?

If Direct WebP replaced originals, some content may still reference old .jpg/.png URLs. Reselect images in the editor or restore backups. HTML-only URL rewrite modes stop rewriting when the plugin is off, but original files remain on disk.

How are WebP images served?

Choose one of three modes in WebP delivery:

  1. Direct WebP (recommended) — file on disk becomes .webp; lowest storage.
  2. Rewrite <img> src — keeps originals; serves WebP URLs in HTML output.
  3. Server delivery — keeps URLs; .htaccess serves WebP bytes to supporting browsers.
Premium CDN URL helps map CDN paths to local files for all modes.

Does Squeeze work with WP Offload Media (WP Offload S3 / AS3CF)?

Yes, with one important caveat about the WebP delivery mode you choose. Supported — Rewrite <img> src to WebP URLs in HTML: Squeeze pushes WebP sidecar files to your external storage provider (S3, GCS, DigitalOcean Spaces, etc.) alongside the compressed originals. The PHP-based URL rewriting rewrites image src and srcset attributes in the page HTML to the WebP path, and this works correctly whether files are served from your origin or a CDN — even when WP Offload Media's "Remove Local Files" option is on. Not compatible — Keep JPEG/PNG URLs — server serves WebP (.htaccess): This mode adds Apache mod_rewrite rules to .htaccess that intercept requests for .jpg/.png files and serve the WebP equivalent. When WP Offload Media is active, image URLs point to a CDN domain (e.g. storage.googleapis.com). Those requests never reach your origin server and therefore never pass through .htaccess — WebP files will not be served. If you use WP Offload Media, always choose the Rewrite <img> src to WebP URLs in HTML mode instead.

Why do I see "Image conversion blocked by browser privacy setting"?

Your browser blocked canvas access (common with Firefox privacy.resistFingerprinting). Set privacy.resistFingerprinting to false in about:config, use Chrome/Edge, or a profile without strict fingerprinting resistance.

Does Squeeze work with the Voxel theme?

Yes (free). Pre-upload compression runs on Voxel create-post and file/gallery AJAX uploads so images are smaller before they reach the server.

Does Squeeze work with Elementor?

On-upload squeeze in Elementor is a Premium feature. Free version supports Gutenberg, GenerateBlocks, and Voxel.

Does Squeeze work with GenerateBlocks?

Yes. GenerateBlocks media blocks support the same on-upload squeeze as the core Image block when Squeeze on upload is enabled under Basic Settings.

What if the squeezed file is larger than the original?

Squeeze can skip replacing an upload when the compressed file would be larger (common with already-optimized PNGs). Lower JPEG/WebP quality in the format tabs, exclude the asset under Excluded images, or squeeze a smaller registered thumbnail size.

How do .bak backup files work?

Enable Create backup in Basic Settings before squeezing. Squeeze saves a .bak copy next to the file so you can Restore Original Image from the Media Library list or attachment screen. Remove unneeded backups with Delete Backup Image.

Does WebP server delivery need Apache mod_rewrite?

The separate folder + server-side delivery mode writes .htaccess rules and needs mod_rewrite on Apache. If mod_rewrite is unavailable, use Direct WebP or Rewrite <img> src instead. On Nginx or other stacks without Apache rules, prefer Direct WebP or HTML rewrite unless you add equivalent server rewrites yourself.

Does Squeeze work on WordPress multisite?

Yes on standard multisite installs—each site has its own Squeeze settings and Media Library. Test Direct WebP on a staging subsite before bulk conversion across a large network.

Which codecs does Squeeze use?

MozJPEG (JPEG), Browser Image Compression (PNG), plus WebP and AVIF encoders—the same technology family as Squoosh.app by the Chrome team.

Why use image compression on WordPress?

Smaller images improve LCP and overall speed, reduce bandwidth bills, and free disk space—especially when combined with WebP.

Which formats are supported?

JPEG, PNG, WebP, and AVIF.

Can I compress many images at once?

Yes. Use Bulk Squeeze (Media Library attachments) or Directory Squeeze for any folder under your site root. Directory mode does not create automatic backups—back up first.

Can I exclude images?

Yes. List URL or filename patterns (one per line) under Excluded images in Basic Settings.

Can I customize compression quality?

Yes. Settings → Squeeze has tabs for JPEG, PNG, WebP, and AVIF quality and advanced options.

Bulk squeeze seems stuck on a large PNG — what should I do?

Wait for completion or a timeout message. Increase Squeeze timeout (default 60 seconds). Very large PNGs may exceed browser memory on low-end devices.

How do I fix "Request timed out"?

Go to Settings → Squeeze → Basic Settings and raise Squeeze timeout. If it still fails, resize the source image or squeeze a smaller derivative.

Is Squeeze a good ShortPixel or Imagify alternative?

Yes, if you want unlimited local compression without API keys or per-month image quotas. Cloud optimizers upload files to their servers; Squeeze processes images in your browser and stores results on your WordPress site. You trade SaaS convenience for privacy, predictable cost, and no upload caps.

How does Squeeze compare to EWWW Image Optimizer?

Both can optimize on your server. Squeeze focuses on client-side codecs in the browser (Squoosh-family encoders), Direct WebP replacement on disk, and pre-upload squeeze in Gutenberg, GenerateBlocks, and Voxel. EWWW often relies on server-side tools or paid cloud tiers. Choose Squeeze when you want no external compression queue and strong WebP storage savings.

How do I compress my first image after installing?

Activate the plugin, open Media Library → any image → Squeeze on the attachment screen. For many images at once, go to Settings → Squeeze → Bulk Squeeze and run Bulk Media Library Squeeze. Enable Squeeze on upload under Basic Settings for automatic optimization on new uploads.

Does Squeeze work with FileBird?

Yes. Squeeze is compatible with the FileBird media folder plugin; bulk and attachment squeeze work with FileBird-organized libraries.

Can I use Squeeze on a staging site first?

Recommended—especially before Direct WebP conversion on an existing site. Test themes, page builders, and any hard-coded .jpg/.png URLs on staging, then enable on production.

Does bulk squeeze include WooCommerce images?

Yes, when images are normal Media Library attachments (product galleries, thumbnails registered in WordPress). Select the thumbnail sizes you want under Squeeze thumbnails in Basic Settings, including WooCommerce sizes when listed.

Is browser-side compression suitable for GDPR or membership sites?

Yes. Image bytes are not sent to Squeeze’s servers for compression—processing runs locally in the administrator’s browser (and supported front-end upload flows). This helps sites that must avoid third-party image processing services.

更新日志:

1.7.10 1.7.9 1.7.8 1.7.7 1.7.6 1.7.5 1.7.4 1.7.3 1.7.2 1.7.1 1.7.0 1.6.7 1.6.6 1.6.5 1.6.4 1.6.3 1.6.2 1.6.1 1.6 1.5.2 1.5.1 1.5 1.4.9 1.4.8 1.4.7 1.4.6 1.4.5 1.4.4 1.4.3 1.4.2 1.4.1 1.4 1.3 1.2 1.1 1.0