Fix image links to work on relative urls