Image Optimizer – Optimize Images and Convert to WebP or AVIF 1.5.2

Does "Image Optimizer by Elementor – Compress, Resize and Optimize Images" work with WordPress 6.6.2 and PHP 8.1.12? A smoke test was performed on .

Summary

Errors
5Unrecognized messages in the PHP error log
No JavaScript exceptions
All test pages loaded successfully
No resource errors
Performance

Memory usage: 302.74 KiB
The average PHP memory usage increased by this amount after activating by the plugin.

Page speed impact: 0.024 seconds
The average page load time increased by this amount after activating the plugin.

Environment
WordPress version6.6.2
PHP version8.1.12
MySQL version10.6.10
PHP memory limit512M
Plugin Info
Last updated
Active installs 800,000+
WordPress.org page https://wordpress.org/plugins/image-optimization/
Badges

WordPress compatibility badge PHP compatibility badge

Get badge code

Pages 5

Plugins ‹ Test site — WordPress

Page screenshot: Plugins ‹ Test site — WordPress
URL /wp-admin/plugins.php?plugin_status=all&paged=1&s
Requested URL /wp-admin/plugins.php?action=activate&plugin=image-optimization%2Fimage-optimization.php&plugin_status=all&paged=1&s&_wpnonce=f668f7ea22
Aspect after-activation
HTTP status 200
Load time 1.789 s
Memory usage 4.19 MiB
JS errors None
Resource errors None

Media → Image Optimizer

Page screenshot: Media  → Image Optimizer
URL /wp-admin/upload.php?page=image-optimization-settings
Aspect menu-item
HTTP status 200
Load time 0.383 s
Memory usage 3.75 MiB
JS errors None
Resource errors None

Media → Bulk Optimization

Page screenshot: Media  → Bulk Optimization
URL /wp-admin/upload.php?page=image-optimization-bulk-optimization
Aspect menu-item
HTTP status 200
Load time 0.301 s
Memory usage 3.8 MiB
JS errors None
Resource errors None

Tools → Scheduled Actions

Page screenshot: Tools → Scheduled Actions
URL /wp-admin/tools.php?page=action-scheduler
Aspect menu-item
HTTP status 200
Load time 0.209 s
Memory usage 3.78 MiB
JS errors None
Resource errors None

Test site – Just another WordPress site

Page screenshot: Test site – Just another WordPress site
URL /
Aspect front-page
HTTP status 200
Load time 0.220 s
Memory usage 3.61 MiB
JS errors None
Resource errors None

Benchmark

URL Load time Memory usage
Inactive Active Change Inactive Active Change
/wp-admin/index.php0.321 s0.323 s+0.002 s3.47 MiB3.75 MiB+ 282.68 KiB
/wp-admin/edit.php0.190 s0.225 s+0.035 s3.54 MiB3.84 MiB+ 306.39 KiB
/wp-admin/post-new.php0.715 s0.736 s+0.021 s5.75 MiB6.1 MiB+ 355.11 KiB
/wp-admin/upload.php0.672 s0.763 s+0.091 s3.49 MiB3.8 MiB+ 315.3 KiB
/wp-admin/options-writing.php0.195 s0.212 s+0.017 s3.41 MiB3.73 MiB+ 330.48 KiB
/wp-admin/media-new.php0.269 s0.276 s+0.007 s3.4 MiB3.73 MiB+ 344.69 KiB
/wp-admin/edit-tags.php?taxonomy=category0.174 s0.222 s+0.048 s3.47 MiB3.75 MiB+ 286.48 KiB
/wp-admin/post-new.php?post_type=page0.564 s0.583 s+0.019 s5.75 MiB6.09 MiB+ 346.7 KiB
/wp-admin/options-discussion.php0.240 s0.336 s+0.096 s3.41 MiB3.73 MiB+ 332.79 KiB
/wp-admin/edit-comments.php0.211 s0.238 s+0.027 s3.49 MiB3.75 MiB+ 269.11 KiB
/0.290 s0.187 s-0.103 s3.45 MiB3.61 MiB+ 160.38 KiB
Average 0.349 s0.373 s+0.024 s3.88 MiB4.17 MiB+ 302.74 KiB

Code Statistics

Note: Third-party libraries and minified JS/CSS files are excluded from these statistics where possible, so the numbers you see here may be lower than those reported by other tools.

PHP
Language % Lines of code Comment lines Files
PHP90.7%8,5811,838149
JavaScript8.0%7565015
CSS1.2%11403
SVG0.1%1301
Total 9,464 1,888 168

PHP Code Analysis | More results »

Lines of code 15,776
Total complexity 2,610
Median class complexity 6.0
Median method complexity 1.0
Most complex class ImageOptimization\Classes\Rest\Route
Most complex function ImageOptimization\Modules\Optimization\Components\Media_Control::render_optimization_control()
Classes 264
Methods 1,314
Functions 0

Additions

Things that the plugin adds to the site. This section is not intended to be comprehensive. The test tool only looks for a few specific types of added content.

Options wp_options 10

Custom Post Types 1

ID Name
scheduled-actionScheduled Actions

PHP Error Log 5 lines

[10-Sep-2024 16:55:22 UTC] [Image Optimizer]: info in ImageOptimization\Modules\Core\Components\Migrations->run_migration(): The migration `fix_optimized_size_keys` successfully executed.
[10-Sep-2024 16:55:22 UTC] [Image Optimizer]: info in ImageOptimization\Modules\Core\Components\Migrations->run_migration(): The migration `fix_mime_type` successfully executed.
[10-Sep-2024 16:55:24 UTC] [Image Optimizer]: info in ImageOptimization\Modules\ConnectManager\Components\Connect->get_connect_status(): Status check error. Reason: User is not connected
[10-Sep-2024 16:55:26 UTC] [Image Optimizer]: info in ImageOptimization\Modules\ConnectManager\Components\Connect->get_connect_status(): Status check error. Reason: User is not connected
[10-Sep-2024 16:55:32 UTC] [Image Optimizer]: info in ImageOptimization\Modules\ConnectManager\Components\Connect->get_connect_status(): Status check error. Reason: User is not connected
See also: All tests for this plugin, How to Hide Image Optimizer - Compress, Resize and Optimize Images Admin Menus