### If you have a text URL field, and the content ends in jpg, jpeg, gif or png, it will show a preview of the image under the field.

(Image content)

[

**This is a Community Plugin!** Learn how create your own plugin, or copy and remix existing ones in our documentation

](https://www.datocms.com/docs/plugin-sdk/introduction.md)

## DatoCMS Plugin Thumbnail

First, activate the Thumbnail Preview field add-on in your schema. It must be a single line text field.

Then, if the content of your field ends in jpg, jpeg, gif, png or webp, it will show a preview of the image under the field.