{"id":743,"date":"2024-05-07T11:42:33","date_gmt":"2024-05-07T11:42:33","guid":{"rendered":"https:\/\/kb.shortpixel.com\/docs\/how-can-i-optimize-only-certain-thumbnail-sizes\/"},"modified":"2025-08-27T08:44:25","modified_gmt":"2025-08-27T08:44:25","password":"","slug":"how-can-i-optimize-only-certain-thumbnail-sizes","status":"publish","type":"docs","link":"https:\/\/kb.shortpixel.com\/knowledge-base\/article\/how-can-i-optimize-only-certain-thumbnail-sizes\/","title":{"rendered":"How can I optimize only certain thumbnail sizes?"},"content":{"rendered":"\n<p>By default, WordPress generates up to 7 <a href=\"https:\/\/www.wpbeginner.com\/glossary\/thumbnail-sizes\/\" target=\"_blank\" rel=\"noopener\">thumbnails<\/a> for each image you upload to your website. However, after trying different themes and plugins, the number of thumbnails generated for each image can go to 10-20 or even 100 (yes, we&#8217;ve had customers that had <em>that<\/em> many)! Since <a href=\"https:\/\/wordpress.org\/plugins\/shortpixel-image-optimiser\/\" target=\"_blank\" rel=\"noopener\">ShortPixel Image Optimizer<\/a> is spending 1 credit per image <strong>or<\/strong> thumbnail optimized, that means that every time you upload an image, you will spend lots of credits.<\/p>\n\n\n\n<p>Usually, it is useful to have all the thumbnails optimized, but in some cases, these thumbnail sizes aren&#8217;t needed anymore, so it doesn&#8217;t make sense to have them optimized with our plugin and waste credits.<\/p>\n\n\n\n<p>Luckily, it is easy to select the thumbnail sizes that you want ShortPixel Image Optimizer to compress. In your WordPress dashboard, navigate to <strong>Settings <\/strong>> <strong>ShortPixel <\/strong>> <strong>Exclusions <\/strong>> <strong>Exclude thumbnail sizes<\/strong> and select the thumbnail sizes that you <strong>don&#8217;t <\/strong>want to optimize.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"271\" src=\"https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250227_122308-1024x271.jpg\" alt=\"\" class=\"wp-image-1746\" srcset=\"https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250227_122308-1024x271.jpg 1024w, https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250227_122308-300x79.jpg 300w, https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250227_122308-768x203.jpg 768w, https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250227_122308-360x95.jpg 360w, https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250227_122308.jpg 1516w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>By default, WordPress generates up to 7 thumbnails for each image you upload to your website. However, after trying different themes and plugins, the number of thumbnails generated for each image can go to 10-20 or even 100 (yes, we&#8217;ve had customers that had that many)! Since ShortPixel Image Optimizer is spending 1 credit per [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[37],"glossaries":[],"doc_tag":[],"class_list":["post-743","docs","type-docs","status-publish","hentry","doc_category-shortpixel-image-optimizer"],"blocksy_meta":[],"year_month":"2026-04","word_count":146,"total_views":"1499","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":"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\/743","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=743"}],"version-history":[{"count":1,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/docs\/743\/revisions"}],"predecessor-version":[{"id":1747,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/docs\/743\/revisions\/1747"}],"wp:attachment":[{"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/media?parent=743"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/doc_category?post=743"},{"taxonomy":"glossaries","embeddable":true,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/glossaries?post=743"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/doc_tag?post=743"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}