XF 1.3 Load attachment by just ID

Is it possible to load an attachment by just the ID in the url, we converted our VB blogs to XF blogs but have to come up with a rewrite as we just have the ID in our old url's

thanks for the help