MainWP Blog

Tips & Tricks
Sebastian Moran

Useful Code Snippets for the ShortPixel Image Optimizer

ShortPixel is a well-used plugin for image optimization on sites. The plugin includes a number of filters and constants. You can hide your ShortPixel API key from the plugin’s settings by defining the API key in a constant in the sites wp-config.php file. Replace out the APIKEY with your actual API key for ShortPixel. define(‘SHORTPIXEL_API_KEY’, ‘APIKEY’); define(‘SHORTPIXEL_HIDE_API_KEY’, true); If you are using the ShortPixel plugin and service on sites which are hosted on FlyWheel then you might run into an error saying that flock (file locking) has been disabled for security reasons by using this constant in your sites wp-config.php

Tips & Tricks
Sebastian Moran

Using the AVIF Next-Generation Image Format on your Sites for Faster Loading Images

Netflix has an amazing track record of pushing for technology changes that help the web and open-source projects. One of the more recent development pushes has been by Netflix is the AVIF next-generation image format. The AVIF image format is meant as a replacement for the JPEG image format but with better compression results. The acronym of AVIF stands for AV1 Image File Format. The format was developed by the Alliance for Open Media in collaboration with Google, Cisco, and Xiph.org. Google Chrome added AVIF image format support in release 85. AVIF image format support is also coming to an

Tips & Tricks
Sebastian Moran

Using OptiMole to Image Optimize Your Child Sites

OptiMole is a very easy to use service with a straightforward to use WordPress plugin. Using the OptiMole plugin and service will make it very easy to improve the front-end load times of your child sites. In order to be able to use OptiMole, you will first need to install the plugin on your site. Once the plugin is installed and activated from Media it will add a new menu item. On the new settings page for OptiMole, you can create a new account which you will need to enter your email address. Check your email for the new email

Tips & Tricks
Sebastian Moran

How to Cleanup EWWW Image Optimizer Plugin Data

There might be a good chance that might have used the EWW Image Optimization plugin on your child sites years ago to optimize site images. It also means that older versions of the EWWW image optimization stored image optimization records in the postmeta database table. The EWWW image optimization plugin now uses two custom database tables to store images and queues in. In order to be able to remove postmeta records easily created by the EWWW IO plugin, you will need to install the plugin. EWWW IO plugin has a tool to be able to migrate older records from the

Tips & Tricks
Sebastian Moran

Using Abraia to Easily Optimize Site Images

There is a new image optimization service called Abraia. The service will be able to process JPEG, PNG, GIF, SVG, and WebP image files. After you have installed and activated the plugin it will add a new menu item under; Settings > Abraia In order to be able to use the Abraia service, you will need to create a new account and then copy the API key into the plugins settings. You can set to have images automatically optimized on upload. After you have added the API key into the setting now you can go to bulk optimize images that

Tips & Tricks
Sebastian Moran

Using ShortPixel to Optimize Site Images on your Child Site

Site images can take up the bulk of the site size of a child site. Additionally, uncompressed images in your site’s media library will cause performance issues on the front-end of the site. One of the solid plugin and services for image optimization is ShortPixel. ShortPixel has a free plan which includes 100 images per month, a number of well-priced monthly plans, and one-time plans which you can pick from. After you have signed up for ShortPixel, you will need to go to the “show my API page” to get the API key that you intend to set in the

Using Gumlet to Speed Up Your Child Site Images
Tips & Tricks
Sebastian Moran

Using Gumlet to Speed Up Your Child Site Images

Site image will be one of the heaviest assets on your child site. The easiest way to speed up a site is to have a CDN compress images when uploaded, and then have the CDN serve those site images for users of the site. One solid Image CDN which has an easy-to-use WordPress plugin is Gumlet. First, you will need to sign up for a Gumlet account. After you have signed and verified your account, you will need to setup your web folder source. The source for the web folder will be the site URL, without the trailing/at the end

Looking for something?

Privacy laws apply to businesses that collect personal information. Since no personal information is collected by the MainWP plugins, no privacy laws apply to the MainWP plugins. This includes GDPR, UK DPA 2018, PIPEDA, Australia Privacy Act 1988, LGPD, PIPL, and other privacy laws.
Donata Stroink-Skillrud
Donata Stroink-Skillrud
President of Agency Attorneys

Your Download Is Just One Click Away

…or just download the plugin.

By entering your email, you agree to our Terms of Service and Privacy Policy.