{"id":896,"date":"2024-05-07T11:45:14","date_gmt":"2024-05-07T11:45:14","guid":{"rendered":"https:\/\/kb.shortpixel.com\/docs\/shortpixel-adaptive-images-crops-off-my-images-how-can-i-solve-it\/"},"modified":"2025-08-27T08:40:49","modified_gmt":"2025-08-27T08:40:49","password":"","slug":"shortpixel-adaptive-images-crops-off-my-images-how-can-i-solve-it","status":"publish","type":"docs","link":"https:\/\/kb.shortpixel.com\/knowledge-base\/article\/shortpixel-adaptive-images-crops-off-my-images-how-can-i-solve-it\/","title":{"rendered":"ShortPixel Adaptive Images crops off my images, how can I solve it?"},"content":{"rendered":"\n<p>Sometimes it happens that ShortPixel Adaptive Images crops off some images.&nbsp;For example, from this image<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2025\/08\/file-Q7HGkzfdAc.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<p>SPAI can do this (see the bottom part):<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/kb.shortpixel.com\/wp-content\/uploads\/2025\/08\/file-Uy1dArNzSn.jpg\" alt=\"\"\/><\/figure>\n\n\n\n<p>It happens especially on small images, where&nbsp;adding a single pixel on width or height will change the aspect ratio notably.&nbsp;In the previous example, the original image had&nbsp;a width\/height ratio of 391\/97 = <strong>4,03<\/strong>, and the resized image&nbsp;had a width\/height ratio of 174\/42=<strong>4,14<\/strong>, which is very close. If you tried to add&nbsp;1 pixel of height, it led to&nbsp;a ratio of <strong>4,05<\/strong>&nbsp;and still cropped the logo off. If we added 2 pixels of height, that led&nbsp;to a ratio of <strong>3,95<\/strong>&nbsp;and it cropped off the image from the right.<\/p>\n\n\n\n<p>The suggested solution for now is to<strong>&nbsp;try to add 2-3 rows of pixels at the bottom of your logo<\/strong>,<strong>&nbsp;<\/strong>and this should solve the issue. It is the fastest and possibly the best option.<\/p>\n\n\n\n<p>As an alternative you could also try to <a href=\"https:\/\/shortpixel.com\/knowledge-base\/article\/how-to-exclude-images-from-optimization-in-the-shortpixel-adaptive-images-plugin\/\" rel=\"noopener\">exclude images<\/a> affected by this.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes it happens that ShortPixel Adaptive Images crops off some images.&nbsp;For example, from this image SPAI can do this (see the bottom part): It happens especially on small images, where&nbsp;adding a single pixel on width or height will change the aspect ratio notably.&nbsp;In the previous example, the original image had&nbsp;a width\/height ratio of 391\/97 = [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_category":[35],"glossaries":[],"doc_tag":[],"class_list":["post-896","docs","type-docs","status-publish","hentry","doc_category-shortpixel-adaptive-images"],"blocksy_meta":[],"year_month":"2026-05","word_count":173,"total_views":"1058","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 Adaptive Images","term_url":"https:\/\/kb.shortpixel.com\/knowledge-base\/category\/shortpixel-adaptive-images\/"}],"doc_tag_info":[],"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/docs\/896","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=896"}],"version-history":[{"count":2,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/docs\/896\/revisions"}],"predecessor-version":[{"id":2357,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/docs\/896\/revisions\/2357"}],"wp:attachment":[{"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/media?parent=896"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/doc_category?post=896"},{"taxonomy":"glossaries","embeddable":true,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/glossaries?post=896"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/kb.shortpixel.com\/wp-json\/wp\/v2\/doc_tag?post=896"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}