Select to view content in your preferred language

Ability to Add Individual Captions to Pop-up Galleries with Multiple Attachments

380
2
12-08-2023 02:06 PM
Status: Open
JamesPoeschel
Frequent Contributor

When a feature has multiple attachments, the only option is to list of the files or show a gallery of pictures.

Often times with a gallery of photos, a caption is necessary for each image for the viewer to understand what they are looking at. 

In a case I'm facing now, I have 3 images of vehicle turning counts for each peak hour (AM, MID, PM). But without the ability to add captions to each one individually, it is not clear which one reflects AM data vs MID vs PM data. 

JamesPoeschel_0-1702072581223.png

An alternative solution to adding a functionality to add captions to each individual attachment could be to allow creators to select a single photo to show at a time, instead of showing all attachments. In this way, we can add one attachment and add a title, then click add content, and add another attachment with another title and repeat the process.

JamesPoeschel_2-1702072954402.png

 

 

 

Tags (2)
2 Comments
JeffNicolajsen1

Yes this is what I need too!

I have multiple field bearing & distance measurement attributes that belong to multiple attached photos that I want to use as caption for the photo displayed in the popup dialog.

I can use a arcade expression to create the caption I want for the attached photo ...     

JeffNicolajsen1_0-1706894331308.png

But how use bring in the corresponding image and display them together? 

JasperRomero

Hi all, found this while trying to solve the same problem and though I would share one possible workaround I might end up using:

If you have the option of hosting the images somewhere public, you could use the "Add Image" option rather than "Attachments". If you set up the attribute table to include as many respective image caption and image URL columns as you need (e.g. "img_cap1", "img_link1" etc.), you can stack multiple Text or Fields List content boxes calling the captions with Image boxes calling the URLs to achieve the effect of displaying a caption for each image. 

As far as I can tell this should work, but I definitely agree that the originally suggested functionality would be nice to have!