Startklar Image Optimizer

Author Startklar
Contributors wshberlin
Type Free
Current Version 1.0
Last Updated 16 Jun, 2022
Released 16 Jun, 2022
Total Download 59
Active Install 0
Support 0 out of 0

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.

0
0 Reviews
5
0%
4
0%
3
0%
2
0%
1
0%