<DataTable/> If a record in <DataTable/&g...
# troubleshooting
b
<DataTable/> If a record in <DataTable/> contains an image URL, how to use the <img> tag? I want to display both image and text data
b
2. Use something that isn't a table, eg a list
Copy code
```my_query
select
"<http://www.google.com/logos/doodles/2015/googles-new-logo-5078286822539264.3-hp2x.gif>" as url,
"google logo" as caption_text
union all
select
"<https://upload.wikimedia.org/wikipedia/en/thumb/f/f4/Baidu.svg/1280px-Baidu.svg.png>" as url,
"baidu logo" as caption_text
## My images {#each my_query as image} ![{image.caption_text}]({image.url}) {image.caption_text} {/each}```
b
❤️‍🔥💖
b
We have now released an implementation in DataTable for this: https://docs.evidence.dev/features/data-table if you have a column with a URL to an image in it called `flag`:
Copy code
<DataTable data={my_query}/>
   <Column id=flag contentType=image height=30px/>
</DataTable>
b
Hi similar but slightly different question. I am using a templated page and want to return the URL from the data table and display it in the page. the filter works in tables/charts but not as a value
![Logo](<Value data={all_teams.filter(d => d.team_abbrev === $page.params.ff_team)} column=logo_url/>)
returns the URL and not the image
![Logo](<https://g.espncdn.com/lm-static/logo-packs/core/Incredibles/incredibles_5.svg>)