foto: set width and height of images