{"id":492,"date":"2019-07-03T23:31:06","date_gmt":"2019-07-03T23:31:06","guid":{"rendered":"https:\/\/meetanshi.com\/blog\/2019\/07\/03\/integrate-shortpixel-for-magento-image-optimization\/"},"modified":"2025-05-22T16:28:00","modified_gmt":"2025-05-22T10:58:00","slug":"integrate-shortpixel-for-magento-image-optimization","status":"publish","type":"post","link":"https:\/\/meetanshi.com\/blog\/integrate-shortpixel-for-magento-image-optimization\/","title":{"rendered":"How to Integrate ShortPixel for Magento Image Optimization"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/developers.google.com\/search\/blog\/2018\/01\/using-page-speed-in-mobile-search\" target=\"_blank\" rel=\"noreferrer noopener\">Google<\/a>&nbsp;considers page speed as an important mobile ranking factor. This update leaves no choice for the Magento store merchants than to perform actions to optimize the page speed in every way possible. One of the actions is image compression and optimization. Unfortunately, the default Magento does not offer any functionality for image optimization.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Hence, the merchants have to rely on third-party tools such as&nbsp;<a href=\"https:\/\/shortpixel.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">ShortPixel<\/a>,&nbsp;<a href=\"https:\/\/tinyjpg.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Tinyjpg<\/a>,&nbsp;<a href=\"https:\/\/pagespeed.web.dev\/\" target=\"_blank\" rel=\"noreferrer noopener\">Google Page Speed Insights<\/a>,&nbsp;<a href=\"https:\/\/gtmetrix.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">GTMetrix<\/a>,&nbsp;etc. today, I have come up with a method to&nbsp;<em><strong>integrate shortpixel for Magento image optimization<\/strong><\/em>&nbsp;that allows to compress and optimize the images in the Magento store itself!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">With this method, integrate shortpixel with Magento store. Compress the images of your store in such a way that the picture quality is maintained and at the same time the load time gets reduced. A reduced page load time positively affects the traffic and bounce rate of the Magento store.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Note:<\/strong>&nbsp;Another thing that you can do to improve the store performance is to use the Meetanshi\u2019s&nbsp;<strong>FREE<\/strong>&nbsp;module,&nbsp;<strong><a href=\"https:\/\/meetanshi.com\/magento-defer-parsing-javascript.html\" target=\"_blank\" rel=\"noreferrer noopener\">Magento Defer Parsing of Javascript<\/a><\/strong>, to automate the defer parsing of Javascript.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Method to Integrate ShortPixel for Magento Image Optimization:<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Visit&nbsp;<a href=\"https:\/\/shortpixel.com\/web-tool-docs\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/shortpixel.com\/web-tool-docs<\/a><\/li>\n\n\n\n<li>Download the package for Shortpixel Website Optimizer<\/li>\n\n\n\n<li>Place it in your Magento\u2019s root folder.<\/li>\n\n\n\n<li>Make sure you have assigned proper permission for this folder, i.e., read and write.<\/li>\n\n\n\n<li>Open&nbsp;<strong>https:\/\/[[Magento Store HomePage URL]]\/shortpixel-web\/webroot\/index.php in<\/strong>&nbsp;your browser<\/li>\n\n\n\n<li>Enter the API key that you get in the Email while&nbsp;<a href=\"https:\/\/shortpixel.com\/free-sign-up\" target=\"_blank\" rel=\"noreferrer noopener\">registration<\/a><\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Once activated, you can use the tool in your Magento store itself, as shown in the below video:<\/p>\n\n\n\n<figure class=\"wp-block-video\"><video autoplay src=\"https:\/\/d2ddoduugvun08.cloudfront.net\/items\/2u1D3P1N0H3g0O3a192W\/Screen%20Recording%202019-06-28%20at%2002.59.23.57%20PM.mp4\"><\/video><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Follow the above steps and you have the shortpixel image compressor integrated with your Magento! Use it to compress and optimize images in Magento and witness a notable improvement in your Magento store page speed.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Hopefully, now the image compression is easier for you in the Magento store itself!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thank you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Google&nbsp;considers page speed as an important mobile ranking factor. This update leaves no choice for the Magento store merchants than to perform actions to optimize&#8230;<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[34],"tags":[],"class_list":["post-492","post","type-post","status-publish","format-standard","hentry","category-magento"],"acf":[],"_links":{"self":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/492","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/comments?post=492"}],"version-history":[{"count":2,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/492\/revisions"}],"predecessor-version":[{"id":15356,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/492\/revisions\/15356"}],"wp:attachment":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/media?parent=492"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/categories?post=492"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/tags?post=492"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}