> [!column|flex no-title]
>> [!menu-dark-red|ttl-c] [[Obsidian TTRPG Tutorials]] / [[Plugin Tutorials]] / [[Dataview]] / [[Dataview - Embed Image in Dataview]]
> [!column|4 no-title]
>> [!menu-green-1|ttl-c] [[Getting Started]]
>
>> [!menu-green-2|ttl-c] [[Plugin Tutorials]]
>
>> [!menu-green-3|ttl-c] [[Community Supported Games]]
>
>> [!menu-green-4|ttl-c] [[Obsidian TTRPG Tutorials/Templates/Templates\|Templates]]
> [!column|3 no-title]
>> [!patreon|ttl-c] [Patreon](https://www.patreon.com/JPlunkett) ([Starter Vault](https://www.patreon.com/posts/obsidian-patreon-96801399))
>
>> [!discord|ttl-c] [Obsidian TTRPG Community Discord](https://discord.gg/CdM9UCJdwU)
>
>> [!discord|ttl-c] [Obsidian Official Discord](https://discord.gg/8AF29UBUCa)
## Dataview - Embed Image in Dataview
You can return an image with a Dataview query by doing the following.
In this we define Frontmatter called Image where the value is a normal link to an image.
````
---
Image: ![[Imagename.png]]
---
````
Note you can resize the image like this; where 300 is the desired size of the image.
````
---
Image: ![[Imagename.png|300]]
---
````
Then in your dataview query you can use the embed function to call the image Frontmatter. Note we have called 'Image' and then renamed that column to ImageColumnName.
````
```dataview
TABLE embed(Image) as ImageColumnName
```
````
##### Example:
![[Pasted image 20230626221252.png]]