# Working with Images and a Headless CMS

**URL:** <https://discourse.getcockpit.com/t/working-with-images-and-a-headless-cms/936>\
**Category:** Support\
**Created:** [July 21, 2019, 10:06pm UTC](https://discourse.getcockpit.com/t/working-with-images-and-a-headless-cms/936 "2019-07-21T22:06:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![WuGGu](https://avatars.discourse-cdn.com/v4/letter/w/5f9b8f/32.png) [@WuGGu](https://discourse.getcockpit.com/u/WuGGu)\
**Post date:** [July 21, 2019, 10:06pm UTC](https://discourse.getcockpit.com/t/working-with-images-and-a-headless-cms/936/1 "2019-07-21T22:06:31Z")

</div>

Hi everyone,

I’m just starting with Cockpit and i want to know, how do you handle images with a headless CMS?  
I created a collection and added an image with the image field. Now i want to use it in my HTML Page. If i just put in the url, i get a “connection refused” warning. But how does images work with a headless CMS. Do I have to add the token to my url?

Sorry for such a nooby question.

Thanks
