{"id":829,"date":"2024-05-07T11:44:04","date_gmt":"2024-05-07T11:44:04","guid":{"rendered":"https:\/\/kb.shortpixel.com\/docs\/why-do-i-get-the-message-serve-images-in-next-gen-formats\/"},"modified":"2025-08-27T08:42:17","modified_gmt":"2025-08-27T08:42:17","password":"","slug":"why-do-i-get-the-message-serve-images-in-next-gen-formats","status":"publish","type":"docs","link":"https:\/\/kb.shortpixel.com\/knowledge-base\/article\/why-do-i-get-the-message-serve-images-in-next-gen-formats\/","title":{"rendered":"Why do I get the message &#8220;Serve images in next-gen formats&#8221;?"},"content":{"rendered":"\n<p>Both GTmetrix and Google PageSpeed Insights will display the warning &#8220;<strong>Serve images in next-gen formats<\/strong>&#8221; if your images are <strong>not delivered <\/strong>in WebP or AVIF format.<\/p>\n\n\n\n<p>If that is on purpose and you don&#8217;t want to serve WebP or AVIF images, that&#8217;s fine, simply ignore the warning. But if you do want to serve WebP or AVIF images, continue reading.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">ShortPixel Image Optimizer (SPIO)<\/h2>\n\n\n\n<p><strong>If you use <a href=\"https:\/\/wordpress.org\/plugins\/shortpixel-image-optimiser\/\" rel=\"noopener\">ShortPixel Image Optimizer<\/a><\/strong>, please visit the relevant troubleshooting sections in the following articles:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>For WebP: <a href=\"https:\/\/shortpixel.com\/knowledge-base\/article\/how-to-serve-webp-files-using-spio\/#troubleshooting\" rel=\"noopener\">Troubleshooting the WebP delivery<\/a><\/li>\n\n\n\n<li>For AVIF: <a href=\"https:\/\/kb.shortpixel.com\/knowledge-base\/article\/how-to-create-and-serve-avif-files-using-shortpixel-image-optimizer\/#troubleshooting\">Troubleshooting the AVIF delivery<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">ShortPixel Adaptive Images (SPAI)<\/h2>\n\n\n\n<p><strong>If you use <a href=\"https:\/\/wordpress.org\/plugins\/shortpixel-adaptive-images\/\" rel=\"noopener\">ShortPixel Adaptive Images<\/a><\/strong>, please visit the relevant troubleshooting sections in the following article: <a href=\"https:\/\/shortpixel.com\/knowledge-base\/article\/shortpixel-adaptive-images-doesnt-serve-webp-images-why-is-that\/\" rel=\"noopener\">ShortPixel Adaptive Images doesn&#8217;t serve WebP images, why is that?<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Autoptimize<\/h2>\n\n\n\n<p>When using Autoptimize, you simply need to activate the option &#8220;Optimize Images&#8221;. That&#8217;s enough to serve your images in WebP format, which should get rid of the message&nbsp;&#8220;Serve images in next-gen formats&#8221;.<\/p>\n\n\n\n<p>If you happen to use ShortPixel Image Optimizer with Autoptimize, make sure to read this one too: <a href=\"https:\/\/help.shortpixel.com\/article\/93-i-want-to-start-using-autoptimize-with-shortpixel-image-optimization-cdn\" rel=\"noopener\">I want to start using Autoptimize with ShortPixel Image Optimizer, what should I do?<\/a><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2025\/08\/file-fw26xDo8fk.jpg\" alt=\"\"\/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Both GTmetrix and Google PageSpeed Insights will display the warning &#8220;Serve images in next-gen formats&#8221; if your images are not delivered in WebP or AVIF format. If that is on purpose and you don&#8217;t want to serve WebP or AVIF images, that&#8217;s fine, simply ignore the warning. But if you do want to serve WebP [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[36,35,37],"glossaries":[],"doc_tag":[],"class_list":["post-829","docs","type-docs","status-publish","hentry","doc_category-autoptimize","doc_category-shortpixel-adaptive-images","doc_category-shortpixel-image-optimizer"],"blocksy_meta":[],"year_month":"2026-04","word_count":188,"total_views":"1156","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"admin","author_nicename":"admin_mdli53m5","author_url":"https:\/\/kb.shortpixel.com\/author\/admin_mdli53m5\/"},"doc_category_info":[{"term_name":"Autoptimize","term_url":"https:\/\/kb.shortpixel.com\/knowledge-base\/category\/autoptimize\/"},{"term_name":"ShortPixel Adaptive Images","term_url":"https:\/\/kb.shortpixel.com\/knowledge-base\/category\/shortpixel-adaptive-images\/"},{"term_name":"ShortPixel Image Optimizer","term_url":"https:\/\/kb.shortpixel.com\/knowledge-base\/category\/shortpixel-image-optimizer\/"}],"doc_tag_info":[],"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/docs\/829","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/comments?post=829"}],"version-history":[{"count":2,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/docs\/829\/revisions"}],"predecessor-version":[{"id":2429,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/docs\/829\/revisions\/2429"}],"wp:attachment":[{"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/media?parent=829"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/doc_category?post=829"},{"taxonomy":"glossaries","embeddable":true,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/glossaries?post=829"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/doc_tag?post=829"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}