image path modification