allow to resize images

this is quite helpful for serving small thumbnails ;-)