Image resizing and fixed a typo