make image location portable