Jump to content

Bug in JQZoom: Zoom-Windows is shifted


Mustafas

Recommended Posts

I know: This bug is well-known and discussed here since years. But all the solutions I saw and tried out does not work with 1.6.x or are simply out-dated (new file structure etc.).

The meant bug of JQzoom is the following, see this screenshot:

 

jqzoom-bug.jpg

 

You see the problem: The Zoom-Window on the right does not zoom into the square it should, but is shifted. Nothing is changed in the js-files, everything is default.

How to solve this in the Versions 1.6.x?

Thanks!
 

Edited by Mustafas (see edit history)
Link to comment
Share on other sites

can you copy the part of file themes/default-bootstrap/js/product.js that looks like this:

 

//set jqZoom parameters if needed
if (typeof(jqZoomEnabled) != 'undefined' && jqZoomEnabled)
{
$('.jqzoom').jqzoom({
zoomType: 'innerzoom', //innerzoom/standard/reverse/drag
zoomWidth: 458, //zooming div default width(default width value is 200)
zoomHeight: 458, //zooming div default width(default height value is 200)
xOffset: 21, //zooming div default offset(default offset value is 10)
yOffset: 0,
title: false
});
}
 
 
(probably around line 137)
 
Found a similar topic here:
although no clear answer there yet...
 
pascal
Link to comment
Share on other sites

I know the similar topics, but as you said: No clear answers, hopefully we can find it.

 

Here my code:

	//set jqZoom parameters if needed
	if (typeof(jqZoomEnabled) != 'undefined' && jqZoomEnabled)
	{
		$('.jqzoom').jqzoom({
			zoomType: 'standard', //innerzoom/standard/reverse/drag
			zoomWidth: 458, //zooming div default width(default width value is 200)
			zoomHeight: 458, //zooming div default width(default height value is 200)
			xOffset: 21, //zooming div default offset(default offset value is 10)
			yOffset: 0,
			title: false
		});
	}

As you see its perfeclty the same, I have only changed "innerzoom" to "standard", because that makes the bug more clear. But with "innerzoom" I have the same bug.

 

Thanks.

Mustafas

Edited by Mustafas (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...