Try to relativise urls of images in require