Jump to content

How can i change the thickbox default size?


Recommended Posts

Hello everybody.

yesterday i was working on ps , but i had a little problem.

I made a new size of images ( preferences>images>add size) the new one was:

Name: real
Width: 1800
height: 1250

i applied that to one new product but when the thickbox shows my product, only i can see one part of the image. The new size is applied but the 'visor' of the image is mainteined the original size.

79122467.th.jpg

53025057.th.jpg


24820221.th.jpg


Do you know how can i change the white tickbox window in order to show the full real size of my image?

thank you

Link to comment
Share on other sites

Ok, I have fixed the issue xDDD, We only have to change the following lines in the archive called 'tickbox-modified'

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)



reemplaced by

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)



I hope this can be help someone

Link to comment
Share on other sites

  • 4 weeks later...

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