Linux 软件免费装
Banner图

Symelo Image Optimizations | WebP/AVIF

开发者 symelo
更新时间 2026年11月30日 10:35
PHP版本: 7.4 及以上
WordPress版本: 7.2
版权: GPLv2 or later
版权网址: 版权信息

标签

compress images lazy load webp image optimization avif

下载

1.0.8 1.0.9

详情介绍:

Symelo Image Optimizations makes images smaller without changing how your site looks. Everything happens on your own server: images are never uploaded to an outside service. Symelo Image Optimizations is made by Symelo LTD. Server requirements Engines The plugin detects what the server's PHP offers and picks the best option per job: Imagick first (it keeps colour profiles and handles CMYK and 16-bit images), then GD. For JPEG, PNG, WebP, AVIF and resizing you can choose the engine yourself on the Engines tab. Anything the server can't do is shown as unavailable, with the reason. Library versions with known security problems are reported on the Overview tab and in Site Health. Security External services This plugin doesn't send data to any external service. Images are optimized on your own server. It only sends HTTP requests to your own site: The Support tab links to symelo.com and offers an email link; nothing is sent unless you click them. For developers Filters: symelo_images_capability (the settings screen, bulk optimization and the REST API; optimizing and restoring single images in the media library only needs the right to edit that image, so authors can optimize their own uploads), symelo_images_engine_order, symelo_images_max_pixels, symelo_images_max_bytes, symelo_images_imagick_limits, symelo_images_pace, symelo_images_worker_budget, symelo_images_dispatch_args, symelo_images_skip_page, symelo_images_more_from_symelo, symelo_images_tabs, symelo_images_warnings, symelo_images_notes, symelo_images_system_info, symelo_images_rest_status. Actions: symelo_images_loaded, symelo_images_register_engines (add engines with $engines->add()), symelo_images_file_optimized, symelo_images_engines_tab, symelo_images_tab_{$slug}. Extending the plugin: engines implement Symelo\Images\Engines\EngineInterface (extend AbstractEngine) and are registered on symelo_images_register_engines; each says which tasks it can do on this server and gives a rank per task for the automatic order. Add-ons check SYMELO_IMAGES_API_VERSION (1.0). The plugin's docs/extending.md documents every hook, the engine contract and the versioning rules. Constants: SYMELO_IMAGES_DELIVERY (picture, rewrite, none), SYMELO_IMAGES_WORKER_SPEED (fast, normal, gentle). REST API (administrators): /wp-json/symelo-images/v1/ status, settings, optimize, restore, attachments/{id}, bulk, worker, delivery/test, folders, maintenance. WP-CLI: wp symelo-images status|optimize|restore|run|folders. wp symelo-images run --paced follows the Background speed setting (pauses and load checks), for system cron jobs on small servers. Add the class skip-lazy to an image to keep it from lazy loading, and no-picture to keep it out of <picture> delivery. Updates and user guide New versions, the changelog and the user guide are on the plugin's page: https://symelo.com/wordpress/plugins/symelo-image-optimizations New versions come from WordPress.org, through Dashboard → Updates and WordPress's automatic updates, whether you installed the plugin from WordPress.org or from symelo.com.

安装:

  1. In wp-admin, go to Plugins → Add New Plugin, search for "Symelo Image Optimizations", then click Install Now and Activate. (Or upload the plugin's .zip file under Plugins → Add New Plugin → Upload Plugin.)
  2. Go to Media → Image Optimizations. The Overview tab shows what your server can do for each job (JPEG, PNG, WebP, AVIF, resizing).
  3. New uploads are optimized automatically from now on. To optimize the images you already have, click "Optimize all images" on the Overview tab. You can close the page; the work continues in the background.
  4. Optional: review the Compression tab (Balanced is recommended), and use "Test now" on the Delivery tab to check that WebP and AVIF are served.
If WebP or AVIF shows as unavailable, ask your host to enable it in Imagick or GD (AVIF in GD needs PHP 8.1 or newer). The Engines tab shows what each library can do.

屏幕截图:

  • Compression: level, formats, resizing and metadata.
  • Delivery: WebP/AVIF delivery, lazy loading and responsive images.
  • The media library shows what was saved for each image.

常见问题:

My server is small. Will bulk optimization slow the site down?

Choose Media → Image Optimizations → Advanced → Background speed → Gentle. Bulk work then runs in short bursts with pauses, at the lowest priority, and waits while the server is busy. New uploads are still optimized right away. If you run the queue from a system cron job, use wp symelo-images run --paced --max-seconds=240, so it keeps those pauses too.

Do I need to keep the page open during bulk optimization?

No. The work runs in the background in short steps. If your server blocks requests to itself and WP-Cron is off, run wp symelo-images run --paced from a system cron job.

Can I undo everything?

Yes, as long as "Keep the originals" is on: restore single images in the media library, or everything under Advanced.

Why is AVIF unavailable?

Your server's Imagick and GD can't write AVIF. Ask your host for PHP 8.1 or newer with AVIF support in GD, or Imagick built with AVIF support. The Engines tab shows what each library can do.

Can it compress PDFs?

No. Imagick and GD can't compress PDF files, so PDF compression is shown as unavailable and PDFs are left as they are.

Does the plugin run or download programs?

No. It only uses PHP's image libraries (Imagick and GD), which WordPress uses too.

Does the plugin send my images or data anywhere?

No. All compression and conversion happens on your server, and the plugin only sends requests to your own site (see "External services" above).

更新日志:

1.0.9 1.0.8 1.0.7 1.0.6 1.0.5 1.0.4 1.0.3 1.0.2 1.0.1 1.0.0