ImageScaler NumberFormat exception

Under certain conditions the page containing an ImageScaler was failing to build. ?debug showed: NumberFormatException: For input string: “”

I traced this to the setHeight and setWidth methods in VImageScaler, which do receive an empty string for some reason. Solution was simple enough, for the setHeight method:

	if (height.length() == 0) {
		return;
	}

and of course the equivalent for setWidth

Hey!

This is clearly a problem in the component. You should always specify non zero size for the component. Size can be relative or defined. It’s possible that ImageScaler gets zero size if it’s placed in zero sized layout causing the problem.

I’ll address the issue in next version.