Is there a solution that enables a normal img thumbnail link which would normally open in a new full size window (without script) but with javascript enabled it opens the linked image in a new popup window (like lightbox but not in-screen) and the window dimensions are resized to accommodate the image width and height exactly, with no extra scrollbars or toolbars etc. As a further touch, clicking anywhere on the image closes the window.
For example, I have seen a rough and crude example of the desired effect at the following page;
http://demos.creloaded.com/creloaded62pro/product_info.php?cPath=1_4&products_id=1(if you scroll down the page there is a series of thumbnails which link to bigger images)
Preferably, like the lightbox script the solution is not intrusive, i.e. the html code just links to an enlarged image url with a target="_blank" and perhaps a special class="popup", and the javascript looks for the link with the special class and causes it to popup in resized window, but with javascript disabled it just opens a new full size window with the linked image as normal. Anyhow, our main priority first would be to get a script that resizes the popup to the image dimensions (without us actually supplying the dimensions since they vary greatly).
Also, I am open to ideas and suggestions on other ways of offering enlarged image views that are most user-friendly.
Thanks.
Start Free Trial