Replace absolute image paths