resolve image