Wordpress shortcode. Gets an attachment image link from the post ID.