ຄຳອະທິບາຍ
MegaOptim 2.0 is a WordPress image optimization plugin built for sites that want to optimize images and move older JPG, PNG, and GIF libraries to next-gen formats like WebP and AVIF. You can convert images, compress originals, optimize supported next-gen images, process the Media Library or server folders in bulk, and deliver the best available format automatically on the front end.
If your goal is to convert JPEG to WebP, convert PNG to WebP, generate AVIF versions for better performance, optimize existing WebP and AVIF assets, or use smart compression instead of fixed local compression, MegaOptim 2.0 is designed around that workflow. Next-gen format generation is a major focus of this release, but 2.0 is not limited to conversion only.
Why Use MegaOptim?
- Optimize supported JPEG, PNG, GIF, WebP, and AVIF images
- Convert JPEG, PNG, and GIF images to WebP and AVIF
- Bulk process the WordPress Media Library
- Browse and process folders outside the Media Library
- Use fixed local compression or smart MegaOptim Cloud compression
- Automatically convert or compress newly uploaded images
- Serve WebP and AVIF with Apache
.htaccessor PHP passthru - Track background jobs with a built-in queue monitor
- Restore compressed originals from backup or remove generated next-gen files
- Optionally process retina images generated by WP Retina 2x / Perfect Images
- Use WP-CLI for bulk conversion, stats, reset, logs, and queue tools
Conversion-First Workflow
MegaOptim 2.0 keeps your original uploads in place and generates next-gen derivatives alongside them. That means you can convert older JPG, PNG, and GIF images to WebP or AVIF without replacing the original source file. On the front end, MegaOptim can serve the best format supported by the visitor’s browser while keeping the original file available as a fallback.
Local vs Cloud Processing
MegaOptim works without an API key. If your server has GD or Imagick support, you can do local processing for WebP conversion, local AVIF generation when your server supports it, and basic local compression for JPEG and PNG images. Local compression is useful when you want a simple, fixed local workflow on your own server.
If you add a MegaOptim API key, MegaOptim Cloud can offload processing from your server and is the recommended option for smart compression, original-format compression, direct WebP and AVIF optimization, and broader AVIF workflows. This is the better path when you want smarter results than fixed local compression. The cloud plan is available for just $49 per year and can be used on unlimited sites. You can get an API key from the MegaOptim dashboard and see plans at MegaOptim pricing.
What MegaOptim 2.0 Can Do
- Convert mode: Generate WebP or AVIF versions from JPEG, PNG, and GIF images
- Compress mode: Optimize original images with fixed local compression or smart cloud compression, and optionally generate next-gen formats during compression
- Next-gen optimization: Optimize existing WebP and AVIF images through the cloud compression workflow
- Media Library view: Process individual images, selected images, or run bulk jobs across the library
- File System view: Browse folders on your server and bulk-convert images outside the Media Library
- Upload automation: Automatically convert or compress new uploads in the background
- Delivery settings: Choose Apache
.htaccessrules or PHP passthru rewriting to serve WebP and AVIF - Queue monitor: Watch active jobs, progress, failures, and background processing state
- Tools page: Run restore actions for compressed originals or remove generated WebP/AVIF derivatives
- Restore support: Restore compressed images from backup and regenerate thumbnails
- Logging and diagnostics: Use the built-in log viewer and queue statistics through WP-CLI
- Retina support: Optionally process
@2ximages created by WP Retina 2x or Perfect Images
Migration From Older MegaOptim Versions
MegaOptim 2.0 includes background migration for legacy settings and older attachment data. Existing users can upgrade and let MegaOptim migrate data in batches, with progress shown inside the admin UI while migration is running.
ພາບໜ້າຈໍ

Optimizer dashboard with totals, bulk actions, and space savings overview 
Comparison Modal #1 
Comparison Modal #2 
Settings: API Key 
Settings: Conversion with Cloud Processing 
Settings: Conversion with Local Processing 
Settings: Compression with Cloud Processing 
Settings: Compression with Local Processing 
Settings: Upload behavior 
Settings: Frontend delivery for WebP/Avif 
Settings: Advanced 
Settings: Queue Monitor for background jobs
ການຕິດຕັ້ງ
- Upload the MegaOptim plugin to
/wp-content/plugins/or install it through the WordPress plugin screen. - Activate the plugin.
- In WordPress admin, go to
Media > MegaOptim. - Open
Settingsand choose local processing or add a MegaOptim API key for cloud processing. - Configure your conversion format, compression options, upload automation, and delivery method.
- Go to the
Optimizerpage to process Media Library images, or switch toFile Systemview to convert folders on your server.
ຄຳຖາມທີ່ພົບເລື້ອຍ
-
How do I convert JPEG to WebP in WordPress?
-
Install and activate MegaOptim, open
Media > MegaOptim, chooseConvertmode, set the output format toWebP, and start a bulk job from the Media Library or File System view. MegaOptim 2.0 is built specifically for converting older JPG, PNG, and GIF image libraries to next-gen formats. -
Can I convert PNG images to AVIF?
-
Yes. MegaOptim can generate AVIF images when AVIF is available through MegaOptim Cloud or through compatible local server support. If your server does not support local AVIF encoding, use MegaOptim Cloud for PNG to AVIF conversion.
-
Can MegaOptim convert GIF images to WebP or AVIF?
-
Yes. MegaOptim 2.0 can convert GIF images to next-gen formats as part of its conversion workflow, alongside JPG and PNG images. You can run those conversions from the Media Library or from the File System view.
-
Does MegaOptim work without an API key?
-
Yes. MegaOptim 2.0 supports local processing without an API key. Local WebP conversion, local AVIF generation when supported, and basic local JPEG/PNG compression depend on the GD or Imagick capabilities available on your server. Cloud processing requires an API key and is the recommended path when you want smart compression instead of fixed local compression.
-
What is the difference between Convert and Compress?
-
Convert creates next-gen WebP or AVIF files alongside the original image.
Compressoptimizes the original image file itself and can also generate WebP or AVIF during compression, depending on your settings. Local compression is a more fixed local workflow, while cloud compression is the smart option and can also optimize existing next-gen formats directly. -
Why use MegaOptim Cloud compression instead of local compression?
-
Local compression is useful when you want a simple fixed workflow on your own server. MegaOptim Cloud is the recommended option when you want smart compression, direct WebP and AVIF optimization, and less CPU and memory usage on your hosting. The cloud plan is available for $49 per year and works on unlimited sites.
-
Can MegaOptim optimize existing WebP and AVIF files?
-
Yes. MegaOptim 2.0 is not limited to converting older formats. MegaOptim Cloud compression can optimize existing WebP and AVIF images directly, in addition to optimizing JPG, PNG, and GIF files. Local compression remains focused on JPEG and PNG.
-
Can MegaOptim automatically convert uploaded images?
-
Yes. You can enable automatic conversion or automatic compression for newly uploaded images. MegaOptim processes those jobs in the background so new uploads can be handled without manual bulk actions.
-
How are WebP and AVIF images served on the front end?
-
MegaOptim can serve next-gen images through Apache
.htaccessrules or a PHP passthru delivery mode. Both options are designed to serve WebP and AVIF to supported browsers while keeping the original image as a fallback. -
Can I restore my original images?
-
Yes. If you compressed originals with backups enabled, MegaOptim can restore the original image and regenerate thumbnails. You can also remove generated WebP and AVIF derivative files without changing the original upload.
-
Can I process folders outside the Media Library?
-
Yes. MegaOptim 2.0 includes a File System view that lets you browse server folders and bulk-convert images outside the WordPress Media Library.
-
Does MegaOptim support WP-CLI?
-
Yes. Current commands include
wp megaoptim convert,wp megaoptim stats,wp megaoptim reset,wp megaoptim log,wp megaoptim queue:process, andwp megaoptim queue:stats. -
What happens when I upgrade from an older MegaOptim version?
-
MegaOptim 2.0 migrates legacy settings and attachment data in the background. If migration is needed, the plugin shows a migration progress banner in the admin area while the old data is being imported into the new 2.0 tables.
ການຣີວິວ
ຜູ້ຮ່ວມພັດທະນາ ແລະ ຜູ້ພັດທະນາ
“MegaOptim Image Optimizer – Optimize Images, Compress Images, Convert to WebP & AVIF” ແມ່ນຊອຟແວໂອເພັນຊອດ (Open Source). ບຸກຄົນຕໍ່ໄປນີ້ໄດ້ມີສ່ວນຮ່ວມໃນການພັດທະນາປລັກອິນນີ້.
ຜູ້ຮ່ວມພັດທະນາສົນໃຈຮ່ວມພັດທະນາບໍ່?
ເບິ່ງລະຫັດ, ກວດເບິ່ງ ຄັງເກັບ SVN, ຫຼື ຕິດຕາມ ບັນທຶກການພັດທະນາ ຜ່ານ RSS.
ບັນທຶກການປ່ຽນແປງ
2.0.0
- Initial release
