Jump to content

[SOLVED] How to increase JqZoom Size


Recommended Posts

Hi

 

You need to edit your_root\themes\your_theme\js\product.js

this part

	//set jqZoom parameters if needed
if (typeof(jqZoomEnabled) != 'undefined' && jqZoomEnabled)
{
	$('img.jqzoom').jqueryzoom({
		xzoom: 200, //zooming div default width(default width value is 200)
		yzoom: 200, //zooming div default width(default height value is 200)
		offset: 21 //zooming div default offset(default offset value is 10)
		//position: "right" //zooming div position(default position value is "right")
	});
}

Think comments explains enough.

Link to comment
Share on other sites

Thnak u so much Razaro.....i will forward this to my developer....will u plz check below site of somebody who r using Presta. I want to know d sizes they hv used for Large, Medium and JqZoom

 

http://www.lingerie-story.fr/soutien-gorge-pour-moi/158-saint-tropez-blanc.html

 

Presta has used Large default size as 300 × 300 px and Medium default size as 80 x 80px

 

Plz let me know the sizes which this site has used for Large, Medium and JqZoom box

 

Thanks once again boss!!!

 

 

Hi

 

You need to edit your_root\themes\your_theme\js\product.js

this part

	//set jqZoom parameters if needed
if (typeof(jqZoomEnabled) != 'undefined' && jqZoomEnabled)
{
	$('img.jqzoom').jqueryzoom({
		xzoom: 200, //zooming div default width(default width value is 200)
		yzoom: 200, //zooming div default width(default height value is 200)
		offset: 21 //zooming div default offset(default offset value is 10)
		//position: "right" //zooming div position(default position value is "right")
	});
}

Think comments explains enough.

Link to comment
Share on other sites

It is not nice to spy and copy other peoples websites :-)

 

This is code for zoom

        $('img.jqzoom').jqueryzoom({
           xzoom: 471, //zooming div default width(default width value is 200)
           yzoom: 300, //zooming div default width(default height value is 200)
           offset: 04 //zooming div default offset(default offset value is 10)
           //position: "right" //zooming div position(default position value is "right")
       });
    }

 

Large is 300x300, medium is 80x80 and thickbox 800x800.

Link to comment
Share on other sites

well to be honest i mailed them officially about it n even given them my website address.....they gave me these sizes but their pics do not seem square. it seems like thickbox is of 600 x 900

 

How is that? Plz guide....Thanks for ur help also

Link to comment
Share on other sites

Not sure how you got that size but their thick box is 800x800

 

<img width="800" height="800" alt="Soutien-Gorge Balconnet Saint-Tropez Blanc" src="http://www.lingerie-story.fr/158-1329-thickbox/saint-tropez-blanc.jpg" id="TB_Image">

 

and also image in src is 800x800

Link to comment
Share on other sites

razaro but plz clarify my one doubt.....my images r mostly like of smaller width n longer height....when i try to put those in 300 x 300 medium box, images r getting compressed n i am losing effect of professional photography by which images are shooted....so what solution over it?

Link to comment
Share on other sites

Well if all your original images are like in thickbox around 600 x 900 you could try

to change image size for large images from 300 x 300 to 300x 450 or 260 x 390 px,or some other

and if needed change some css.

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...