Code:
<a href="images/work/photography/1.jpg" onclick="window.open
(this.href, 'contents', 'menubar=0, location=0, toolbar=0, scrollbars=1, status=0, resizable=0'); return false;" target="_blank">
<img class="border5" src="images/work/photography/thumbs/1.jpg" alt=""></img></a>
So that's my code to make an image load after clicking a thumbnail of that image.
My problem is that the page that opens, opens full screen. I understand you can simply enter 'height=??, width=??,' but i have roughly 50 images, and i would find this tedious to do over and over and....
so i was wondering if there was a piece of code that can just auto-adjust the pop up window to the size of the image.