Encapsulate fallback behavior when images fail to load.