use print_image(file) in test_page