build with relative image paths