Image optimization
Nội dung này hiện chưa có sẵn bằng ngôn ngữ của bạn.
Image optimization (/settings/images, under Advanced > Site defaults) sets the
account-wide default for image uploads made through MZPanel’s media uploader on your
WordPress sites. Images are resized and re-encoded in your browser before upload, so
files are typically 5 to 10 times smaller and upload faster. Each site can override the
default, and the heavier server-side optimizer is configured per site. Available on
every plan.
This applies to WordPress media. Other site types and Docker apps don’t use it.
Set the default, step by step
Section titled “Set the default, step by step”- Open Advanced > Site defaults > Image optimization.
- Turn on Optimize in the browser and choose:
- Format: convert uploads to a modern format (Auto (WebP)) or keep the original.
- Max dimension: scale large images down to fit this width and height.
- Quality: higher keeps more detail, lower makes smaller files.
- Optionally set the defaults for Also optimize on the server: which extra formats to generate (WebP, AVIF) alongside the original, and whether to regenerate WordPress thumbnail sizes after optimizing.
Changes save automatically (“Changes save automatically” confirms it). The settings are stored with your account preferences.
Per-site server-side optimization
Section titled “Per-site server-side optimization”Server-side optimization (WebP and AVIF for every size, the whole media library, and new uploads automatically) is switched on per site from the Optimize button on the site’s Media page, which opens a drawer with an Optimize tab (scan, bulk run, originals) and a Settings tab. It runs on the box through the agent.
Automate it
Section titled “Automate it”The account default is a dashboard preference and has no API operation. The per-site
optimizer is a set of jobs you can run with jobs_schema and jobs_create on the site’s
server (every plan, MCP or REST):
| Job kind | What it does |
|---|---|
wp.images-settings | Read or change a site’s server-side optimization settings |
wp.images-scan | Count what can be optimized in the media library |
wp.images-optimize | Optimize the library (or a batch) |
wp.images-stop | Stop a running optimization |
wp.images-restore | Restore originals (the whole library, or one path) |
wp.images-purge-originals | Delete kept originals older than olderThan days to free disk (cannot be undone) |
Call jobs_schema first for each kind’s fields.
Related
Section titled “Related”- Cache & optimize: the rest of a WordPress site’s performance tools.
- Account settings