chenged image resizing

now it is possible to register only width or height for an image