Rename place_images -> get_image_bounds, add testcase.