{"id":720,"date":"2024-05-07T11:42:09","date_gmt":"2024-05-07T11:42:09","guid":{"rendered":"https:\/\/kb.shortpixel.com\/docs\/can-shortpixel-automatically-resize-new-image-uploads\/"},"modified":"2025-08-27T08:46:06","modified_gmt":"2025-08-27T08:46:06","password":"","slug":"can-shortpixel-automatically-resize-new-image-uploads","status":"publish","type":"docs","link":"https:\/\/kb.shortpixel.com\/knowledge-base\/article\/can-shortpixel-automatically-resize-new-image-uploads\/","title":{"rendered":"Can ShortPixel automatically resize new image uploads?"},"content":{"rendered":"\n<p>Yes, ShortPixel allows you to resize images. This means that you can upload an image of any size and <a href=\"https:\/\/wordpress.org\/plugins\/shortpixel-image-optimiser\/\" target=\"_blank\" rel=\"noopener\">ShortPixel Image Optimizer<\/a> will take care of resizing it.<\/p>\n\n\n\n<p>To do that, it&#8217;s as simple as enabling a setting. You can find it by going to <strong>Settings &gt; ShortPixel &gt; Image Optimization &gt; Resize large images<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"551\" src=\"https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/shortpixel-resize-large-images-1024x551.png\" alt=\"\" class=\"wp-image-1619\" srcset=\"https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/shortpixel-resize-large-images-1024x551.png 1024w, https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/shortpixel-resize-large-images-300x161.png 300w, https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/shortpixel-resize-large-images-768x413.png 768w, https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/shortpixel-resize-large-images-360x194.png 360w, https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/shortpixel-resize-large-images.png 1057w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<section class=\"callout-yellow dashed\">\n<h2>Important notes<\/h2>\n<ul>\n<li>This feature resizes only the full original images, not the thumbnails. Also, take into account that, even though it&#8217;s uncommon, your hosting might limit the size of your uploads. Therefore, if you can&#8217;t upload a big image, it will be better to check it with your hosting, as ShortPixel accepts any image size.<\/li>\n<li>There are two resizing options in our plugin settings menu. Keep in mind that <strong>the original aspect ratio is preserved in both cases<\/strong>.<\/li>\n<li>The resized image should not be smaller than your largest thumbnail. You could actually enter a smaller value, but then you won\u2019t be able to regenerate your largest thumbnail, if ever required.<\/li>\n<\/section>\n\n\n\n<h2 class=\"wp-block-heading\">Resize images \u2013 Cover<\/h2>\n\n\n\n<p>This mode resizes your image so that its smallest side (width or height) exactly meets the target dimension you set. The original aspect ratio is maintained, so the smaller side is adjusted proportionally. However, if the original image\u2019s smallest side is smaller than your target, no resizing occurs.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Example<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Original image: <strong>2445\u00d71300<\/strong><\/li>\n\n\n\n<li>Resize dimensions: <strong>1000\u00d71200<\/strong><\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" width=\"450\" height=\"237\" src=\"https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250317_111544.jpg\" alt=\"\" class=\"wp-image-1865\" style=\"width:350px\" srcset=\"https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250317_111544.jpg 450w, https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250317_111544-300x158.jpg 300w, https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250317_111544-360x190.jpg 360w\" sizes=\"(max-width: 450px) 100vw, 450px\" \/><\/figure>\n\n\n\n<p>The smaller side of the image is 1300px (height), so it is resized to <strong>1200px<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" width=\"373\" height=\"221\" src=\"https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250317_111925.jpg\" alt=\"\" class=\"wp-image-1866\" style=\"width:350px\" srcset=\"https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250317_111925.jpg 373w, https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250317_111925-300x178.jpg 300w, https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250317_111925-360x213.jpg 360w\" sizes=\"(max-width: 373px) 100vw, 373px\" \/><\/figure>\n\n\n\n<p>The aspect ratio is maintained, so the larger side becomes <strong>2233px<\/strong>. Therefore, the resulting image is <strong>2233&#215;1200<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" width=\"375\" height=\"218\" src=\"https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250317_112111.jpg\" alt=\"\" class=\"wp-image-1867\" style=\"width:350px\" srcset=\"https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250317_112111.jpg 375w, https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250317_112111-300x174.jpg 300w, https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250317_112111-360x209.jpg 360w\" sizes=\"(max-width: 375px) 100vw, 375px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Resize images \u2013 Contain<\/h2>\n\n\n\n<p>This mode resizes your image so that its largest side (width or height) exactly meets the target dimension you set. The original aspect ratio is maintained, so the smaller side is adjusted proportionally.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Example<\/h3>\n\n\n\n<p>Original image: <strong>2445\u00d71300<\/strong><\/p>\n\n\n\n<p>Resize dimensions: <strong>1000\u00d71200<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" width=\"450\" height=\"237\" src=\"https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250317_111544.jpg\" alt=\"\" class=\"wp-image-1865\" style=\"width:350px\" srcset=\"https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250317_111544.jpg 450w, https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250317_111544-300x158.jpg 300w, https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250317_111544-360x190.jpg 360w\" sizes=\"(max-width: 450px) 100vw, 450px\" \/><\/figure>\n\n\n\n<p>The larger side of the image is 2445px (width), so it is resized to <strong>1000px<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" width=\"500\" height=\"219\" src=\"https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250317_114946.jpg\" alt=\"\" class=\"wp-image-1868\" style=\"width:350px\" srcset=\"https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250317_114946.jpg 500w, https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250317_114946-300x131.jpg 300w, https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250317_114946-360x158.jpg 360w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/figure>\n\n\n\n<p>The aspect ratio is maintained, so the smaller side becomes <strong>533px<\/strong>. Therefore, the resulting image is <strong>1000&#215;533<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" width=\"449\" height=\"195\" src=\"https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250317_115117.jpg\" alt=\"\" class=\"wp-image-1869\" style=\"width:350px\" srcset=\"https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250317_115117.jpg 449w, https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250317_115117-300x130.jpg 300w, https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2024\/05\/Screenshot-20250317_115117-360x156.jpg 360w\" sizes=\"(max-width: 449px) 100vw, 449px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Which resize option is best?<\/h2>\n\n\n\n<p>There isn\u2019t a one-size-fits-all answer\u2014it depends on your goals. Use <strong>Cover<\/strong> if you need your image to fill a designated space completely, even if it means some parts might be cropped out to maintain scale. Choose <strong>Contain<\/strong> if keeping the entire image visible is more important, as it ensures the whole image is scaled down to fit within your set dimensions without any cropping.<\/p>\n\n\n\n<p>If you are not sure which option is better for your use case, please test it on a few images from your WordPress Media Library. Make sure to keep the <em>Backup Originals<\/em> option active, in case you are not pleased with the results.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Yes, ShortPixel allows you to resize images. This means that you can upload an image of any size and ShortPixel Image Optimizer will take care of resizing it. To do that, it&#8217;s as simple as enabling a setting. You can find it by going to Settings &gt; ShortPixel &gt; Image Optimization &gt; Resize large images. [&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-720","docs","type-docs","status-publish","hentry","doc_category-shortpixel-image-optimizer"],"blocksy_meta":[],"year_month":"2026-04","word_count":442,"total_views":"2190","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\/720","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=720"}],"version-history":[{"count":4,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/docs\/720\/revisions"}],"predecessor-version":[{"id":1870,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/docs\/720\/revisions\/1870"}],"wp:attachment":[{"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/media?parent=720"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/doc_category?post=720"},{"taxonomy":"glossaries","embeddable":true,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/glossaries?post=720"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/doc_tag?post=720"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}