Converts relative urls to absolute for images and links