Adding image resizing upon upload.