removed canvas for image resizing