How can i find if image has no height style property.
Css in Html
<img id="image" src="images/sports/sports9.png" style="width:100px">
Jquery
if($('#image').css('height') == 0)
{
var imageWidth = $("#image").width();
$("#image").css("width",""+(imageWidth-1)+"px");
}