update read image resource path