Build-time hyperlink verification

I want to get a build-time verified hyperlink to an image file. get_url won’t do this at present.

Am I overlooking some way to do this (get a build-time verified hyperlink to any resource)?