Startklar Image Optimizer

This plugin allows you to optimize images from your media library and thus improve the…

Author:Startklar (profile at wordpress.org)
WordPress version required:5.6
WordPress version tested:6.0
Plugin version:1.0
Added to WordPress repository:16-06-2022
Last updated:16-06-2022
Rating, %:0
Rated by:0
Plugin URI:https://startklar.app/
Total downloads:1 339
plugin download
Click to start download

This plugin allows you to optimize images from your media library and thus improve the SEO performance of your site.
This plugin is based on the JPEGOPTIM utility and PNGQUANT utility which must be installed on your host.
The essence of our plugin is that when it starts, it sorts through all the attachments for the articles of your WP-site
and processes them right at the place where they are located.
After that, the attachment is marked as processed, which prevents it from being processed again.
In the admin page you can view the total number of your images and the number of processed images,
as well as select the number of images to be processed in one cycle.
At the moment, the script for optimization is made in the form of a standard wp-action (its name is “startklar_image_optimizer_process”)
that can be called from another place.

Here is an example of how to call this action:
do_action( ‘startklar_image_optimizer_process’ );

For example, for a simple implementation, you can use the “WP Crontrol” plugin (https://ru.wordpress.org/plugins/wp-crontrol/)
by which you can create a cron task that can optimize one image every minute.
This tactic was chosen in order to process all the files of the site without introducing excessive load to the site
(since the native cron in WP is activated by hits and has a runtime limit, like similar http sessions of this host).

Screenshot #1 shows how easy it is to set up a cron-task.


Screenshots
FAQ
ChangeLog