{"id":440708,"date":"2024-11-24T08:00:00","date_gmt":"2024-11-24T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/atec-webp\/"},"modified":"2025-09-28T06:20:00","modified_gmt":"2025-09-28T06:20:00","slug":"atec-webp","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/atec-webp\/","title":{"rendered":"atec WebP"},"content":{"rendered":"<p>atec-WebP works automatically, no configuration required.<br \/>\nJust install, activate and switch on the \u201cWebP active\u201d option. That\u2019s all.<\/p>\n<p>Most other image optimization plugins (such as Smush or LiteSpeed) use batch conversion.<br \/>\nThese plugins convert ALL images in the upload folder, including thumbnails.<br \/>\nThis is not necessary, as some of these images might never be requested.<br \/>\natec-WebP works \u201con demand\u201d, it converts images only when requested. This saves disk space.<\/p>\n<p>In case you are using a CDN the rewrite rules to serve .webp files will not be effective \u2013 unless you exclude image files from caching.<br \/>\nPlease check the response header to see whether .webp files are actually handled by your server \u2013\u00a0or delivered by a CDN.<\/p>\n<h3>Specifications<\/h3>\n<ul>\n<li>Supports IMG_WEBP_LOSSLESS quality.<\/li>\n<li>Supports BMP, GIF, PNG & JPEG image format.<\/li>\n<li>Supports transparent GIF & PNG files (plus BMP with ImageMagick).<\/li>\n<li>Unsupported files (like animated GIFs and transparent BMP with GD-extension) will be skipped automatically.<\/li>\n<\/ul>\n<h3>Requirements<\/h3>\n<p>atec-WebP requires write permission for the \/.htaccess file and a webserver that supports rewrite rules (mod_rewrite).<br \/>\nRewrite rules will be added to the .htaccess file only if you check the \u201cWebP active\u201d option.<br \/>\nThe rules will be deleted if you uncheck the option or deactivate the plugin.<\/p>\n<p>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.<\/p>\n<p>atec-WebP dashboard also provides a feature to delete these files, with no impact on the original files.<\/p>\n<h3>Attention<\/h3>\n<p>DO NOT disallow script execution in wp-content\/uplods folder by a \u201cdeny from all\u201d rule, because the conversion script resides in the wp-content\/uplods\/atec-webp.<\/p>\n<h3>3rd party scripts<\/h3>\n<p>The plugin uses \u201cbasicLightbox\u201d to preview images.<br \/>\nSource code @ https:\/\/github.com\/electerious\/basicLightbox<\/p>\n<h3>Third-Party Services<\/h3>\n<h3>Integrity check<\/h3>\n<p>Once, when activating the plugin, an integrity check is requested from our server \u2013 if you give your permission.<br \/>\nSource: https:\/\/atecplugins.com\/<br \/>\nPrivacy policy: https:\/\/atecplugins.com\/privacy-policy\/<\/p>\n<h3>atec-WebP and Cloudflare compatibility<\/h3>\n<p>The plugin does not replace image files in the media library nor does it alter the image attachments in pages or posts.<br \/>\nIt 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.<br \/>\nFor the plugin to be in effect, the browser must send an \u2018accept\u2019 header that includes the \u2018image\/webp\u2019 mime type.<br \/>\nHowever, if you use cloudflare, the cloudflare crawler will not send this header, thus the redirect script will not run the rewrite rule.<br \/>\nAs a result, the crawler will get the original image and atec-WebP is not interfere.<\/p>\n<h3>atec-WebP and LiteSpeed web-server compatibility<\/h3>\n<p>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.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Auto convert all BMP, GIF, PNG &#038; JPEG images into the much better WebP format. Supports the GD &#038; ImageMagick libraries.<\/p>\n","protected":false},"author":65,"featured_media":414009,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"atec WebP - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"Auto convert all BMP, GIF, PNG & JPEG images into the much better WebP format. Supports the GD & ImageMagick libraries."},"footnotes":""},"categories":[1],"tags":[58630,3909,58631],"class_list":["post-440708","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-auto-convert-all-bmp","tag-gif","tag-png-jpeg-images-into-the-much-better-webp-format-supports-the-gd-imagemagick-libraries"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/440708","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/comments?post=440708"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/440708\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/414009"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=440708"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=440708"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=440708"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}