Is there a way to have the largest (original uploaded size) image popup in a new window using Javascript? (using this method: http://tinyurl.com/ptqkq)
Currently it links directly to the image, but I'd like it to pop up in a window. (I cannot use the lightbox method, my friend doesn't like the look/feel of that, so a simple popup is what I need.)
go to that link and view the page source.. all the code you need in the source
you will see something like this for the image link
Image 1
your source will look similar to this`
Image 1`
I am at work and cannot really test it.. but really you just need to pass the url into the javascript and it should work
I almost got it working. I put
`
function PopupPic(sPicURL) {
window.open("popup.htm?"+sPicURL, "", "resizable=1,HEIGHT=200,WIDTH=200");
}
between and in image.php, then I changed "> to ">`.
The window pops-up but there's no image in it, it says 500 Internal Server Error.
Any ideas on how to fix that?