get the attachment link direct to the image, not to the permalink