Quote Originally Posted by sle39lvr View Post
I cannot do that, for the reasons I listed already. For example, 2000x2000 image, I want to display in a 1000x1000 window (or smaller if the browser window width is smaller). I guess I will find the code where it picks up image width and height and divide by 2.
Quote Originally Posted by mc12345678 View Post
Umm, kinda hate to say it, but if you use this plugin to accomplish what you are intending, you will have done what you have said you can not do.

The help provided identified the image type that must be modified to suit your needs. Basically before the image is directed to be shown, you will want to modify the max dimensions of the large image to be no larger than the screen display, which should force the image to be recalculated/remade in the cache directory. Be prepared though to have your storage file space increase/fluctuate as a result. If however, you want a 2000x2000 image to always show at 1000x1000 all you need to do is adjust your admin settings for IH4 and it will do the rest of the work for you.
Exactly.. why upload a 2000 x 2000 image if the desired display dimensions are 1000 x 1000.. Change the image settings for the large image to 1000h 1000w and then Zen Cart or IH4 (if installed) will take care of the rest..

However on smaller displays (like say a tablet or smartphone) a 1000 x 1000 image will over flow the edge of the display.. THIS requires that Zen Lightbox be responsive, and this kind of functionality is just not supported with the current version of Zen Lightbox or any other lightbox module available.