Capture dynamic link error from image viewer

This post describing some recent changes to API error handling addresses that exact scenario.

In short, define an API request that fetches the image and conditionally display an alternate if an error is returned.

-Steve