Add resize last image, correct type