I have an browse area in which the user browses and enters an image.
I need to know the height and width of the image to limit it.
var img= IWDatacapture.getItem("banners/mobile-banner/mobile-content[1]/main-image");
var params = new Object();
if(img.length==undefined)
{
var savnm = IWDatacapture.getWorkarea() + img.getValue();
params.savnm = savnm;
var server = window.location.hostname;
IWDatacapture.callServer("http://"+server+"/iw-bin/iw_cgi_wrapper.cgi/getFileSize.ipl", params,true);
}
After I make a server call, I didn't understand how to access the image's attributes.