Can I put a display-photo in an object-table? I have a list of objects that contain a photo and a “where” description and I’d like to list them out on a page, but I’m struggling to find a syntax that will work. This was my best guess:
<object-table controls=“none” query=“photos” empty-message=“There are no items”>
<column heading="Where">{whereat}</column>
<column heading="Photo">
{photo}
<display-photo bind="photo" downloadable="false" />
</column>
<column fit="shrink" icon="fa-trash"><action on-press="$:deletePhoto($selection)" /></column>
</object-table>
Result:
The bottom one does have a photo uploaded as you can see by the ID string, but the display-photo doesn’t work. I tried bind="{photo}", bind="$object.photo", and bind="{$object.photo}", but none of those work either. Is this doable?