create and set img and links