working on the resize the images