generate link previews