{"id":956,"date":"2024-05-07T11:46:17","date_gmt":"2024-05-07T11:46:17","guid":{"rendered":"https:\/\/kb.shortpixel.com\/docs\/how-to-optimize-your-nextgen-galleries-with-shortpixel-image-optimizer\/"},"modified":"2025-08-27T08:39:34","modified_gmt":"2025-08-27T08:39:34","password":"","slug":"how-to-optimize-your-nextgen-galleries-with-shortpixel-image-optimizer","status":"publish","type":"docs","link":"https:\/\/kb.shortpixel.com\/knowledge-base\/article\/how-to-optimize-your-nextgen-galleries-with-shortpixel-image-optimizer\/","title":{"rendered":"How to optimize your NextGEN galleries with ShortPixel Image Optimizer"},"content":{"rendered":"\n<p>When you upload an image directly to a NextGEN gallery, you may notice that it does not get uploaded to the default uploads folder. That&#8217;s why, by default, ShortPixel Image Optimizer (SPIO) will not optimize images uploaded to galleries via NextGEN.<\/p>\n\n\n\n<p>To allow the plugin to optimize the NextGEN Gallery images, you need to enable the &#8220;Optimize NextGen galleries&#8221; option in our plugin settings (<em>Settings <\/em>> <em>ShortPixel <\/em>> <em>Image Optimization<\/em>). This option will\u00a0add all your current NextGEN galleries to the <a href=\"https:\/\/shortpixel.com\/blog\/optimize-images-outside-media-library\/\" target=\"_blank\" rel=\"noopener\">Custom media folders<\/a> list, and will also optimize all the future galleries and images.<\/p>\n\n\n\n<section class=\"callout-blue\">The option &#8220;Optimize NextGen galleries&#8221; only shows up if the NextGEN Gallery plugin is active.<\/section>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"816\" src=\"https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20241127_101325-1024x816.jpg\" alt=\"\" class=\"wp-image-1364\" srcset=\"https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20241127_101325-1024x816.jpg 1024w, https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20241127_101325-300x239.jpg 300w, https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20241127_101325-768x612.jpg 768w, https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20241127_101325-360x287.jpg 360w, https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20241127_101325.jpg 1518w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>When you upload an image directly to a NextGEN gallery, you may notice that it does not get uploaded to the default uploads folder. That&#8217;s why, by default, ShortPixel Image Optimizer (SPIO) will not optimize images uploaded to galleries via NextGEN. To allow the plugin to optimize the NextGEN Gallery images, you need to enable [&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-956","docs","type-docs","status-publish","hentry","doc_category-shortpixel-image-optimizer"],"blocksy_meta":[],"year_month":"2026-04","word_count":108,"total_views":"1183","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\/956","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=956"}],"version-history":[{"count":2,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/docs\/956\/revisions"}],"predecessor-version":[{"id":1365,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/docs\/956\/revisions\/1365"}],"wp:attachment":[{"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/media?parent=956"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/doc_category?post=956"},{"taxonomy":"glossaries","embeddable":true,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/glossaries?post=956"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/doc_tag?post=956"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}