make image uri absolute