make path to images relative