Support of Alt image in case image is not available

I am rendering an image in the PDF generated by Aspose words.
In case the image is not available (basically the public URL doesn’t have the image) the document rendering code throws an exception “Cannot load an image using the provided string value: ‘image url’. A string expression providing image data should return a file path, an URI, or Base64-encoded image bytes.”

Is there a way to render an alt image and prevent the code from throwing an exception in this case?
I am using Linq Reporting Engine.

@Ashutosh_Tripathi

The probing behavior can be provided by implementing IResourceLoadingCallback in a required way and then applying the implementation to a template document. The mentioned link provides an example.