Well I recently finished an image script for my website and all and it works great but I wanted to add a little thing to make it seem a bit more professional. Is there anyway in php to automatically size a pop-up window to the around the size of the image or am I going to need to use javascript still?