The image of nodeimageblock does not obey the width and height attributes defined in the stylesheet. The solution is to introduce (width="100%" height="100%" ) in the source code as shown in the snippet.

	<div class="nodeimage">
	    <img width="100%" height="100%" src="' . $imagesrc . '" alt="" />
	</div>';
        

I do not know how to introduce patches. Hence putting it here... Please validate and include

Regards
Mandeep