Use str_img instead of path for debugging