Hi guys,
I have attachments in my popup, but it shows only default image thumbnail, but i want to show attached image thumbnail.
i checked it on ESRI but could not find.
Any ideas?
I know this is pretty old at this point, but I had run into the same issue using 4.21 and wanted to share what I found for those who happen to run across this.
In my case, I needed to update the supportsResizeAttachments property to true once the layer was loaded.
featureLayer.load().then(() => { featureLayer.capabilities.operations.supportsResizeAttachments = true; })
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.