Only show the link on attachment attached to the post - fix #1