New functionality to resize image

Resizing images functionality added