I need to find the height the image will occupy in the screen and i followed the method given in this blog. But in case of an Image I get the height as 0. It works for any o