resolve img url issue