Making path to images relative.