Hi! I need to opne an image in a new window. To do that, I use the following function:
function openNewWindow(url) {
window.open(url,"", 'width=0,height=0');
}
What do I have to add to the code to open the window with the size of the image? I mean, if the image size is 200*300, the width value has to be 200 and height 300
Thanks in advance,
function openNewWindow(url) {
window.open(url,"", 'width=0,height=0');
}
What do I have to add to the code to open the window with the size of the image? I mean, if the image size is 200*300, the width value has to be 200 and height 300
Thanks in advance,