Imagify - Exclude GIF Extension
This plugin extends Imagify by excluding GIF images from WebP conversion.
by Francis Akoji · github.com/akojif/imagify-exclude-gif · website
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/akojif/imagify-exclude-gif/releases/download/v1.0.0/imagify-exclude-gif.zipReadme
Imagify - Exclude GIF Extension
Description
Imagify - Exclude GIF Extension is a WordPress plugin that extends the functionality of the Imagify plugin by allowing you to exclude GIF images from being converted to WebP format.
Installation
Via WordPress Admin:
- Download the latest release of the plugin from the Releases page.
- Navigate to your WordPress admin area.
- Go to Plugins -> Add New.
- Click the "Upload Plugin" button.
- Select the plugin ZIP file you downloaded in step 1.
- Click "Install Now" and then "Activate Plugin".
Via SSH/SFTP:
- Download the latest release of the plugin from the Releases page.
- Upload the plugin ZIP file to your WordPress site using SSH or SFTP.
- Access your WordPress site's directory on the server.
- Navigate to the
wp-content/pluginsdirectory. - Upload the plugin ZIP file to this directory.
- Extract the contents of the ZIP file.
- Log in to your WordPress admin area.
- Go to Plugins.
- Find the plugin in the list and click "Activate".
Usage
Once the plugin is activated, it automatically integrates with the Imagify plugin. By default, Imagify automatically converts images(JPG, PNG, & GIF) to WebP format to optimize performance. However, with Imagify - Exclude GIF Extension activated, GIF images will be excluded from this conversion process.
Testing
To test the plugin, you can use PHPUnit along with the WordPress testing framework. The tests directory contains test cases for various aspects of the plugin, including activation, deactivation, and skipping conversion of GIF to WebP.
To run the tests, follow these steps:
- Navigate to the plugin directory in your command-line interface.
- Execute the command
phpunit.
License
Imagify - Exclude GIF Extension is licensed under the GNU License. See the LICENSE file for more information.
Read the full README on GitHub →
Releases
| Tag | Published | Asset | Downloads |
|---|---|---|---|
| v1.0.0 | Apr 17, 2024 | imagify-exclude-gif.zip | 2 |