Linux 软件免费装
Banner图

TheDock Media – Image Optimizer: Compress Images, Convert to WebP & AVIF

开发者 thedock
更新时间 2026年11月17日 23:00
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

compress images webp webp converter image optimization avif

下载

1.0.2 1.0.1 1.0.3 1.0.4

详情介绍:

TheDock Media is an image optimizer and WebP and AVIF converter for WordPress: it compresses images, resizes oversized photos and converts them to WebP and AVIF, so pages load faster and score better on Core Web Vitals. It runs on your own server, for free, with no account, no monthly quota and no credits. Optimize every new upload and your whole existing library in bulk. The plugin also checks what your server can do, so you know which formats you get before you start. Want to see the difference first? Try it on one of your files at media.thedock.io. Free, on your server Everything is done by WordPress's own image code with your chosen settings, so file names, sizes and metadata are exactly what WordPress makes. Themes, page builders, backups and migrations keep working, and images already placed in posts keep showing after a conversion: their old addresses lead to the new files. Know what your server can do The Server screen (also in Tools → Site Health) checks this server and explains the results in plain words: TheDock Cloud (optional) Click Connect to TheDock to link your site to a TheDock account (you can create one on the way), and processing moves to TheDock's servers (Stockholm, EU). Your TheDock account can try it free on 5 files, once, across all your sites; after that it is $2 per site per month, or $20 per site per year: The plugin works fully without TheDock Cloud. Nothing is sent anywhere unless you connect it.

安装:

  1. Install and activate the plugin. The setup opens.
  2. Choose where images are processed: this server (free) or TheDock Cloud (click Connect to TheDock, or paste your site's key from thedock.app → Media).
  3. Pick a format and quality level, then let it optimize your existing images, or review them first under TheDock → Media → Library.

屏幕截图:

  • Library: each image with its size, issues and estimated savings. Optimize one, a selection or everything.
  • Dashboard widget: your library at a glance, with a one-click Optimize button.
  • Setup starts with a check of this server: what it can do for free, next to TheDock Cloud.
  • Server check: which formats this server can create, how large a photo it handles, and how fast, compared with TheDock Cloud.
  • Settings: free on this server, or optionally on TheDock Cloud.

升级注意事项:

1.0.4 Fixes missing images in posts after existing images were converted to WebP or AVIF. Nothing to do after updating, except clearing your page cache if you use one. 1.0.3 Images over 100 megapixels are handled properly: optimized on TheDock Cloud when possible, and clearly marked when they are too big. 1.0.2 With the TheDock theme, the black-and-white versions of converted images show again. 1.0.1 First release on wordpress.org. Coming from a 0.x version, nothing to do: your settings and optimized files are kept. The pages now sit in the TheDock menu, under Media.

常见问题:

Do I need a TheDock account?

No. Without one, everything happens on your own server for free. TheDock Cloud is optional.

Is it really free and unlimited?

Yes. On your own server there is no quota, no credits and no limit on the number of images. The only limits are your server's: TheDock → Media → Server shows how large a photo it handles comfortably.

What does TheDock Cloud cost?

Your TheDock account can try it free on 5 files, once, across all your sites. After that it is $2 per site per month, or $20 per site per year, which includes 5,000 files and 30 minutes of video per site each month. If the trial is used or a site isn't subscribed, the plugin keeps working: new images are optimized on your own server, and an admin notice links to the subscription. Usage, speed and the service's online time are on thedock.app → Media → Usage.

Why doesn't my server create AVIF?

AVIF needs PHP 8.1 or newer with AVIF support in GD, or ImageMagick built with AVIF. TheDock → Media → Server shows what your server supports. Until then, images are saved as WebP (or kept in their format), and TheDock Cloud can create AVIF for any site.

What happens to images uploaded before I installed the plugin?

Nothing until you choose: TheDock → Media → Library (or the last setup step) optimizes them in the background. On the command line: wp thedock-media regenerate --missing.

Do images already in my posts keep showing after a conversion?

Yes. Converting an existing image to WebP or AVIF renames its files (photo-300x200.png becomes photo-300x200.avif), while posts, page builders and widgets keep the address they were written with. TheDock Media serves them with the image's current address, and redirects requests for an old address to the new file. Images converted with an earlier version are covered too. Your content in the database isn't changed. If you use a page cache, clear it after updating.

Will big uploads crash my server?

The plugin checks how large a photo your server can handle. Bigger photos are stored as uploaded and marked "Too large for this server", instead of exhausting memory. TheDock Cloud processes them without using your server.

Is there a command line?

Yes: wp thedock-media regenerate, audit, status and server (the server check, --speed adds the speed test).

Can I turn it off?

Untick "Optimize new uploads" in the settings, or deactivate the plugin. Generated files are ordinary WordPress files and stay. If existing images were converted to another format, keep the plugin active: it is what leads their old addresses in posts to the new files.

更新日志:

1.0.4 1.0.3 1.0.2 1.0.1 First release on wordpress.org. Earlier versions (0.x, before wordpress.org): see changelog.txt in the plugin folder.