resize images, perhaps too much