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.)
Comments
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
`
function PopupPic(sPicURL) {
window.open("popup.htm?"+sPicURL, "", "resizable=1,HEIGHT=200,WIDTH=200");
}
`
between <head> and </head> in image.php, then I changed
`" title="<?=getImageTitle();?>"><?php printDefaultSizedImage(getImageTitle()); ?>`
to
`')" title="<?=getImageTitle();?>"><?php printDefaultSizedImage(getImageTitle()); ?>`.
The window pops-up but there's no image in it, it says 500 Internal Server Error.
Any ideas on how to fix that?