I am building an ExB app that allows users to browse a map, click site features, and return site descriptions and data about the site. I've tried a lot of different options for formatting the site descriptions which I'd like to include the site name, attachment photo, and text, but nothing has gotten me quite what I want.
Option 1. I tried setting everything up in a column widget because I like that you can auto stretch text for larger blocks. I like what this looks like format-wise, BUT when there is not a selected feature, I don't want the user to see the back end blank place-holders. Here are the two side-by-side with selection and without selection:
I tried putting the column in a section and changing views when a selection occurred which worked great, but then I couldn't figure out how to change back to the blank view when a selection was cleared.
Option 2. I tried setting everything up and formatting in the popup in AGOL Web Maps and then I could just insert the Feature Info widget. I liked that I could format everything with HTML here, BUT, I was unable to figure out how to embed the image in the HTML and putting the photo in as an attachment element in the pop-up left large vertical spaces between the photo and text elements.
Does anyone have any advice or ideas about how best to format info like this in ExB?
Wonder is something along these lines would be helpful: https://community.esri.com/t5/experience-builder-tips-and-tricks/dynamic-text-that-looks-good-when-n...
https://community.esri.com/t5/arcgis-experience-builder-questions/exb-tips-and-tricks/td-p/1311547
Between these it does look like it can be done you just have to do some extra work. I haven't come across anyone solving this with images though.