{"id":38738,"date":"2015-02-04T01:54:10","date_gmt":"2015-02-04T06:54:10","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=38738"},"modified":"2016-03-16T06:17:41","modified_gmt":"2016-03-16T10:17:41","slug":"prestashop-1-6-x-how-to-manage-product-images-zoom-feature","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/prestashop-1-6-x-how-to-manage-product-images-zoom-feature.html","title":{"rendered":"PrestaShop 1.6.x. How to manage product images zoom feature"},"content":{"rendered":"<p>This tutorial will guide you through on how to manage product images zoom.<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=cyxlPV3xnuA?width=1280&amp;height=720\" rel=\"prettyPhoto\">PrestaShop 1.6.x. How to manage product images zoom feature<\/a><\/p>\r\n<p>Product image has a zoom feature when the cursor hovers over it. In order to change the zoomed image size, you need to follow the steps below:<\/p>\r\n<ol>\r\n<li>Log into your PrestaShop admin panel.<\/li>\r\n<li>Navigate to <strong>Preferences -&gt; Images<\/strong>:<a href=\"\/help\/wp-content\/uploads\/2014\/10\/PrestaShop-1.6.x.-How-to-manage-product-images-zoom_1.jpg\"><img loading=\"lazy\" class=\"aligncenter size-medium wp-image-38739\" src=\"\/help\/wp-content\/uploads\/2014\/10\/PrestaShop-1.6.x.-How-to-manage-product-images-zoom_1-300x168.jpg\" alt=\"PrestaShop 1.6.x. How to manage product images zoom_1\" width=\"300\" height=\"168\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/10\/PrestaShop-1.6.x.-How-to-manage-product-images-zoom_1-300x168.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/10\/PrestaShop-1.6.x.-How-to-manage-product-images-zoom_1-150x84.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/10\/PrestaShop-1.6.x.-How-to-manage-product-images-zoom_1.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/li>\r\n<li>Change the size of <strong>thickbox_default<\/strong> and <strong>tm_thickbox_default<\/strong> image types:<a href=\"\/help\/wp-content\/uploads\/2014\/10\/PrestaShop-1.6.x.-How-to-manage-product-images-zoom_2.jpg\"><img loading=\"lazy\" class=\"aligncenter size-medium wp-image-38740\" src=\"\/help\/wp-content\/uploads\/2014\/10\/PrestaShop-1.6.x.-How-to-manage-product-images-zoom_2-300x168.jpg\" alt=\"PrestaShop 1.6.x. How to manage product images zoom_2\" width=\"300\" height=\"168\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/10\/PrestaShop-1.6.x.-How-to-manage-product-images-zoom_2-300x168.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/10\/PrestaShop-1.6.x.-How-to-manage-product-images-zoom_2-150x84.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/10\/PrestaShop-1.6.x.-How-to-manage-product-images-zoom_2.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/li>\r\n<li>Once you have added new width and height sizes, click <strong>Save<\/strong> button:<a href=\"\/help\/wp-content\/uploads\/2014\/10\/PrestaShop-1.6.x.-How-to-manage-product-images-zoom_3.jpg\"><img loading=\"lazy\" class=\"aligncenter size-medium wp-image-38741\" src=\"\/help\/wp-content\/uploads\/2014\/10\/PrestaShop-1.6.x.-How-to-manage-product-images-zoom_3-300x168.jpg\" alt=\"PrestaShop 1.6.x. How to manage product images zoom_3\" width=\"300\" height=\"168\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/10\/PrestaShop-1.6.x.-How-to-manage-product-images-zoom_3-300x168.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/10\/PrestaShop-1.6.x.-How-to-manage-product-images-zoom_3-150x84.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/10\/PrestaShop-1.6.x.-How-to-manage-product-images-zoom_3.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/li>\r\n<li>Also, you need to scroll down the same page and <strong>Regenerate Images<\/strong>:\r\n<ul class=\"list\">\r\n<li>Select <strong>Products<\/strong> images, they should be regenerated:<a href=\"\/help\/wp-content\/uploads\/2014\/10\/PrestaShop-1.6.x.-How-to-manage-product-images-zoom_4.jpg\"><img loading=\"lazy\" class=\"aligncenter size-medium wp-image-38742\" src=\"\/help\/wp-content\/uploads\/2014\/10\/PrestaShop-1.6.x.-How-to-manage-product-images-zoom_4-300x168.jpg\" alt=\"PrestaShop 1.6.x. How to manage product images zoom_4\" width=\"300\" height=\"168\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/10\/PrestaShop-1.6.x.-How-to-manage-product-images-zoom_4-300x168.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/10\/PrestaShop-1.6.x.-How-to-manage-product-images-zoom_4-150x84.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/10\/PrestaShop-1.6.x.-How-to-manage-product-images-zoom_4.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/li>\r\n<li>In <strong>Erase previous images<\/strong> field select &#8211; <strong>YES<\/strong>.<\/li>\r\n<li>Click <strong>Regenerate thumbnails<\/strong> button:<a href=\"\/help\/wp-content\/uploads\/2014\/10\/PrestaShop-1.6.x.-How-to-manage-product-images-zoom_5.jpg\"><img loading=\"lazy\" class=\"aligncenter size-medium wp-image-38743\" src=\"\/help\/wp-content\/uploads\/2014\/10\/PrestaShop-1.6.x.-How-to-manage-product-images-zoom_5-300x168.jpg\" alt=\"PrestaShop 1.6.x. How to manage product images zoom_5\" width=\"300\" height=\"168\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/10\/PrestaShop-1.6.x.-How-to-manage-product-images-zoom_5-300x168.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/10\/PrestaShop-1.6.x.-How-to-manage-product-images-zoom_5-150x84.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/10\/PrestaShop-1.6.x.-How-to-manage-product-images-zoom_5.jpg 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/li>\r\n<\/ul>\r\n<\/li>\r\n<li>Use FTP or Cpanel and navigate to <strong>themes\/themeXXX\/js\/product.js<\/strong> file, where &#8220;XXX&#8221; means the number of the theme you have purchased.<\/li>\r\n<li>Chose the <strong>Edit file<\/strong> option and look for the coding:\r\n<pre class=\"brush:js\">if (typeof(jqZoomEnabled) != 'undefined' &amp;&amp; jqZoomEnabled)\r\n{\r\n$('.jqzoom').jqzoom({\r\nzoomType: 'innerzoom', \/\/innerzoom\/standard\/reverse\/drag\r\nzoomWidth: 458, \/\/zooming div default width(default width value is 200)\r\nzoomHeight: 458, \/\/zooming div default width(default height value is 200)\r\nxOffset: 21, \/\/zooming div default offset(default offset value is 10)\r\nyOffset: 0,\r\ntitle: false\r\n});\r\n}<\/pre>\r\n<p>You need to edit <strong>zoomWidth<\/strong> and <strong>zoomHeight<\/strong> options values.<\/p>\r\n<p>Let&#8217;s change 458 to 558 and save changes.<\/li>\r\n<li>Clear PrestaShop cache and refresh the products page to see the changes.<\/li>\r\n<li>\r\n<p class=\"attention\">Note that you should keep the aspect ratio between the large_default and thickbox_default images sizes.<\/p>\r\n<\/li>\r\n<\/ol>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=cyxlPV3xnuA?width=1280&amp;height=720\" rel=\"prettyPhoto\">PrestaShop 1.6.x. How to manage product images zoom feature<\/a><\/p>\r\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>This tutorial will guide you through on how to manage product images zoom in Prestashop 1.6.x.<\/p>\n","protected":false},"author":57,"featured_media":43546,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[732],"tags":[537,552,542,1536],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/38738"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/57"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=38738"}],"version-history":[{"count":0,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/38738\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/43546"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=38738"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=38738"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=38738"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}