microsoft / microsoft/AdaptiveCards
[All Platforms] Allow card authors to specify fallback element for when an Image element fails to load
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 2k
- Forks
- 595
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 1
Description
What platform is your feature request related to? (Delete other platforms).
- .NET HTML
- .NET WPF
- Android
- iOS
- JavaScript
- UWP
Is your feature request related to a problem? Please describe.

We obtain urls of images from a cdn, however, we sometimes do not know if these images are valid or working urls.
When creating the adaptive card object, we would set these urls unknowingly and they would fail on the front end. I am hoping that a feature can be added to add a fallback capability for these failing images.
Describe the solution you'd like

I am hoping to have it set up so an image element, when its url fails to resolve, resorts to the next image element in the fallback field.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no implementation files or tests and spans .NET HTML, WPF, Android, iOS, JavaScript, and UWP. Start by locating Image element fallback behavior in each listed platform; done means a failed image URL selects the next fallback image consistently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100