Spudz Posted April 5, 2009 Share Posted April 5, 2009 I want my large product images to be 700x700px. I set "thickbox" size to 700x700.However, when clicking the thumbnail image on the product page, the popup image has been forced from 700x700 to something like 583x583. (If I open the actual image in a new window outside of the popup, it is in fact 700x700.)Is there a way to get around this limitation? Link to comment Share on other sites More sharing options...
Dan1 Posted October 27, 2009 Share Posted October 27, 2009 I am also looking for a solution for this. Link to comment Share on other sites More sharing options...
Nancy Hiwatari Posted October 27, 2009 Share Posted October 27, 2009 i have one that can help youlocalize the next lines in your archive thickibox_modified.js imgPreloader=new Image();imgPreloader.onload=function(){imgPreloader.onload=null;var pagesize=tb_getPageSize();var x=pagesize[0]-150;var y=pagesize[1]-150;var imageWidth=imgPreloader.width;var imageHeight=imgPreloader.height;if(imageWidth>x){imageHeight=imageHeight*(x/imageWidth);imageWidth=x;if(imageHeight>y){imageWidth=imageWidth*(y/imageHeight);imageHeight=y;[spam-filter]else if(imageHeight>y){imageWidth=imageWidth*(y/imageHeight);imageHeight=y;if(imageWidth>x){imageHeight=imageHeight*(x/imageWidth);imageWidth=x;[spam-filter] and change it for imgPreloader=new Image();imgPreloader.onload=function(){imgPreloader.onload=null;var pagesize=tb_getPageSize();var x=pagesize[0]+500;var y=pagesize[1]+500;var imageWidth=imgPreloader.width;var imageHeight=imgPreloader.height;if(imageWidth>x){imageHeight=imageHeight*(x/imageWidth);imageWidth=x;if(imageHeight>y){imageWidth=imageWidth*(y/imageHeight);imageHeight=y;[spam-filter]else if(imageHeight>y){imageWidth=imageWidth*(y/imageHeight);imageHeight=y;if(imageWidth>x){imageHeight=imageHeight*(x/imageWidth);imageWidth=x;[spam-filter] I hope it can help you Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now