have image resizing working for inputImage direcrive.
removed redundant comment