Description
atec-WebP works automatically, no configuration required.
Just install, activate and switch on the “WebP active” option. That’s all.
Most other image optimization plugins (such as Smush or LiteSpeed) use batch conversion.
These plugins convert ALL images in the upload folder, including thumbnails.
This is not necessary, as some of these images might never be requested.
atec-WebP works “on demand”, it converts images only when requested. This saves disk space.
In case you are using a CDN the rewrite rules to serve .webp files will not be effective – unless you exclude image files from caching.
Please check the response header to see whether .webp files are actually handled by your server – or delivered by a CDN.
- Supports IMG_WEBP_LOSSLESS quality.
- Supports BMP, GIF, PNG & JPEG image format.
- Supports transparent GIF & PNG files (plus BMP with ImageMagick).
- Unsupported files (like animated GIFs and transparent BMP with GD-extension) will be skipped automatically.
- Lightweight (64KB) and resource-efficient.
- Backend CPU footprint: <1 ms. (plus only a few ms if a file needs conversion).
- Frontend CPU footprint: <1 ms.
Requirements
atec-WebP requires write permission for the /.htaccess file and a webserver that supports rewrite rules (mod_rewrite).
Rewrite rules will be added to the .htaccess file only if you check the “WebP active” option.
The rules will be deleted if you uncheck the option or deactivate the plugin.
Image requests will be redirected to their WebP counterpart, if the WebP version exists, otherwise the request will be redirected to a script in the ./uploads/atec-webp folder. The script converts image files to *.Xwebp.webp files in their respective folder. There will be no extra folders for the converted images, so everythings stays in place. However you can still delete the convert files at any time, as they are easily identified by their .Xwebp.webp extension.
atec-WebP dashboard also provides a feature to delete these files, with no impact on the original files.
Attention
DO NOT disallow script execution in wp-content/uplods folder by a “deny from all” rule, because the conversion script resides in the wp-content/uplods/atec-webp.
3rd party scripts
The plugin uses “basicLightbox” to preview images.
Source code @ https://github.com/electerious/basicLightbox
3rd party as a service
Once, when activating the plugin, an integrity check is requested from our server (https://atecplugins.com/) – if you give your permission.
Privacy policy: https://atecplugins.com/privacy-policy/
atec-WebP and Cloudflare compatibility
The plugin does not replace image files in the media library nor does it alter the image attachments in pages or posts.
It works by serving .webp images instead of other images formats by converting those images in the uploads folder and rewriting requests to the original image by the use of .htaccess rewrite rules.
For the plugin to be in effect, the browser must send an „accept“ header that includes the „image/webp“ mime type.
However, if you use cloudflare, the cloudflare crawler will not send this header, thus the redirect script will not run the rewrite rule.
As a result, the crawler will get the original image and atec-WebP is not interfere.
atec-WebP and LiteSpeed web-server compatibility
LiteSpeed support for .htaccess files depends on the web-server configuration. LiteSpeed must reload the .htaccess after it has been altered by atec-WebP. It can take several minutes for the changes to have effect.
Screenshots
Installation
- Upload the plugin folder to the
/wp-content/plugins/
directory or through thePlugins
menu. - Activate the plugin through the
Plugins
menu in WordPress. - Click “atec WebP” link in admin menu bar.
Reviews
Contributors & Developers
“atec WebP” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “atec WebP” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.25 [2025.01.17]
- Check button replaced
1.0.24 [2025.01.16]
- SVN cleanup
1.0.23 [2025.01.15]
- preg_replace to clean up line breaks in .htaccess
1.0.22 [2025.01.01]
- isCDN ?
1.0.21 [2024.12.24]
- Fixed style sheet
1.0.20 [2024.12.21]
- Clean up
1.0.19 [2024.12.21]
- Clean up
1.0.18 [2024.12.21]
- New styles, cleaned up .svg
1.0.17 [2024.12.15]
- Requirements moved to dashboard
1.0.16 [2024.12.15]
- New .htaccess rules
1.0.15 [2024.12.12]
- Using custom folder structure.
1.0.14 [2024.12.11]
- Fixed uninstall issue
1.0.13 [2024.12.07]
- Framework update
1.0.12 [2024.11.27]
- Fixed icon.svg
1.0.11 [2024.11.27]
- Improved plugin activation routine
1.0.10 [2024.11.24]
- Updated blueprint.json
1.0.9 [2024.11.23]
- Changes for review
1.0.8 [2024.11.23]
- Fixed .htaccess issue
1.0.7 [2024.11.22]
- Optimized atec-*-install.php routine
1.0.6 [2024.11.15]
- .htaccess E- issue fixed – if mod_env is not installed
1.0.5 [2024.11.06]
- removed anim-GIF support
1.0.4 [2024.10.29]
- review, replaced RecursiveIteratorIterator
1.0.3 [2024.09.13]
- BMP & GIF support
1.0.2 [2024.09.06]
- new .htaccess
1.0.1 [2024.09.06]
- ImageMagick support
1.0 [2024.08.12]
- fix
1.0 [2024.08.03]
- Initial Release