Select to view content in your preferred language

Image widget default "fallback" image if feature has no attachments

260
1
4 weeks ago
Status: Open
Labels (1)
Jamie_Leitch_CNF
Frequent Contributor

Working with a list widget and a separate image widget in ExB.  When the user selects a feature in the list, the image widget shows the image attachment(s) for the feature.  If the feature has no attachments, it would be useful to have the option to set a default or "fallback" image. Perhaps in the Content settings for an Image widget, there should be a place to select a "fallback" image:

ColForbin_0-1758043578985.png

Something like this can be done using Arcade for a single image attachment,  when the feature has no attachments, inject a URL to a fallback image, but when there are multiple attachments for a feature, there seems to be no way using Arcade to show all the images in the "image viewer" format.

1 Comment
ZachBodenner

Agreed, there could probably be a few ways to solve this, either by usefully extending Arcade to get something like an attachment viewer/scroller element, or by allowing a fallback image. I can think of many times I could have used this!