Fix image url error when adding a link item refs #5