changed images and href to relative path