BACK TO DIRECTORY

Startklar Image Optimizer

by WEB-SHOP-HOSTING

0.0
(0 ratings)

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

How easy it is to set up a cron-task.

How easy it is to set up a cron-task.

Plugin Details

Active Installs
10
Total Downloads
3,230
Version
1.0
Requires WP
5.6
Requires PHP
5.6.20
Tested Up To
6.0.14
Added
2022-06-16
Last Updated
2022-06-16 4:28pm GMT

Ratings

5
0
4
0
3
0
2
0
1
0