fixed relative and absolute links, along with image code