Scud89 Posted September 19, 2013 Share Posted September 19, 2013 Hi guys; Am hoping someone could help me with which file I need to modify to closer zoom in on the product picture. Using the default JqZoom, I find it doesn't zoom in close enough to the picture. Thanks in advance Link to comment Share on other sites More sharing options...
vekia Posted September 19, 2013 Share Posted September 19, 2013 themes/YOUR_THEME/js/product.js + this topic http://www.prestashop.com/forums/topic/145456-jqzoom-box-size/ Link to comment Share on other sites More sharing options...
roxor Posted September 19, 2013 Share Posted September 19, 2013 Yes that is: Link to comment Share on other sites More sharing options...
vekia Posted September 19, 2013 Share Posted September 19, 2013 and also offset param if you want to "enlarge" zoom Link to comment Share on other sites More sharing options...
Scud89 Posted September 19, 2013 Author Share Posted September 19, 2013 Thanks for the quick support. I have since tried making these modifications, but it seems that the x,y,and offset paramaters only seem to move the position of the jqzoom box. I'm wanting to zoom in closer to the pictures, so I can see more detail in them. I do not want to change the size of the jqzoom box or its posistion. I simply want to zoom in closer to the images. Link to comment Share on other sites More sharing options...
roxor Posted September 20, 2013 Share Posted September 20, 2013 Thanks for the quick support. I have since tried making these modifications, but it seems that the x,y,and offset paramaters only seem to move the position of the jqzoom box. I'm wanting to zoom in closer to the pictures, so I can see more detail in them. I do not want to change the size of the jqzoom box or its posistion. I simply want to zoom in closer to the images. You mean like this? http://www.dynamicdrive.com/dynamicindex4/powerzoomer.htm#.Ujv3HO6JnQI Link to comment Share on other sites More sharing options...
Vilas Posted September 20, 2013 Share Posted September 20, 2013 and also offset param if you want to "enlarge" zoom how to use it for ps 1.5.4.1 ? thanks Link to comment Share on other sites More sharing options...
vekia Posted September 21, 2013 Share Posted September 21, 2013 hello, just open themes/YOUR_THEME/js/product.js and change necessary variables mentioned above Link to comment Share on other sites More sharing options...
Vilas Posted September 21, 2013 Share Posted September 21, 2013 Dear Vekia, offset param means what??? Link to comment Share on other sites More sharing options...
Scud89 Posted September 21, 2013 Author Share Posted September 21, 2013 Yes like that Roxor. However rather than adding additional code, I'm sure there would already be code that I could change to modify the zoom. The product.js file variables mentioned, simply change the size and posistion of the box. I'm happy with both of these things, I want the zoom to be magnified more. Link to comment Share on other sites More sharing options...
Vilas Posted September 23, 2013 Share Posted September 23, 2013 Yes like that Roxor. However rather than adding additional code, I'm sure there would already be code that I could change to modify the zoom. The product.js file variables mentioned, simply change the size and posistion of the box. I'm happy with both of these things, I want the zoom to be magnified more. Which PS version are you using? What changes you made to make zoom more closure? Also can I have your store url where you tried these options? Will be great if you assist. Thanks Link to comment Share on other sites More sharing options...
vekia Posted September 23, 2013 Share Posted September 23, 2013 Dear Vekia, offset param means what??? here is documentation: zoomType String Default : standart - The others admitted option values are 'reverse','drag','innerzoom'. zoomWidth Integer Default : 300 - The popup window width showing the zoomed area. zoomHeight Integer Default : 300 - The popup window height showing the zoomed area. xOffset Integer Default : 10 - The popup window x offset from the small image. (always positive to move the popup window more on the right if position is "right" or more on the left if position is "left") yOffset Integer Default : 0 - The popup window y offset from the small image. (always positive to move the popup window more on the top if position is "top" or more on the bottom if position is "bottom"), position String Default : right - The popup window position.Admitted values:'right' ,'left' ,'top' ,'bottom' preloadImages Boolean Default : true - if set to true,jqzoom will preload large images. preloadText String Default : Loading zoom - The text to show while preloading images. title Boolean Default : true - Show a small title over the zoomed window it can be the anchor title and if not specified,it will get the small image title. lens Boolean Default : true - if set to false,the small lens,over the image, won't show. imageOpacity Float Default : 0.4 - Set the image opacity when the 'zoomType' option is set to 'reverse'. showEffect String Default : show - The effect by which showing the popup window.Options available: 'show' ,'fadein'. hideEffect String Default : hide - The effect by which hiding the popup window.Options available: 'hide' ,'fadeout'. fadeinSpeed String Default : slow - Changes fade in speed,in case the showEffect option is set to 'fadein'.(options: 'fast','slow',number) fadeoutSpeed String Default : 2000 - Changes fade out speed,in case the hideEffect option is set to 'fadeout'.(options: 'fast','slow',number) 1 Link to comment Share on other sites More sharing options...
Vilas Posted September 25, 2013 Share Posted September 25, 2013 here is documentation: zoomType String Default : standart - The others admitted option values are 'reverse','drag','innerzoom'. zoomWidth Integer Default : 300 - The popup window width showing the zoomed area. zoomHeight Integer Default : 300 - The popup window height showing the zoomed area. xOffset Integer Default : 10 - The popup window x offset from the small image. (always positive to move the popup window more on the right if position is "right" or more on the left if position is "left") yOffset Integer Default : 0 - The popup window y offset from the small image. (always positive to move the popup window more on the top if position is "top" or more on the bottom if position is "bottom"), position String Default : right - The popup window position.Admitted values:'right' ,'left' ,'top' ,'bottom' preloadImages Boolean Default : true - if set to true,jqzoom will preload large images. preloadText String Default : Loading zoom - The text to show while preloading images. title Boolean Default : true - Show a small title over the zoomed window it can be the anchor title and if not specified,it will get the small image title. lens Boolean Default : true - if set to false,the small lens,over the image, won't show. imageOpacity Float Default : 0.4 - Set the image opacity when the 'zoomType' option is set to 'reverse'. showEffect String Default : show - The effect by which showing the popup window.Options available: 'show' ,'fadein'. hideEffect String Default : hide - The effect by which hiding the popup window.Options available: 'hide' ,'fadeout'. fadeinSpeed String Default : slow - Changes fade in speed,in case the showEffect option is set to 'fadein'.(options: 'fast','slow',number) fadeoutSpeed String Default : 2000 - Changes fade out speed,in case the hideEffect option is set to 'fadeout'.(options: 'fast','slow',number) Do I have to paste above values somewhere ?? Will be great if you provide me updated file Sorry for troubling you. Link to comment Share on other sites More sharing options...
Recommended Posts