change resize to adpative-resize which does not blur the image