# Adding a new Custom Element

**URL:** https://forum.shopware.com/t/adding-a-new-custom-element/63321
**Category:** Shopware 6 (English)
**Tags:** customelements
**Created:** [3. Dezember 2019 um 15:46 UTC](https://forum.shopware.com/t/adding-a-new-custom-element/63321 "2019-12-03T15:46:37Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![mdoroci](https://avatars.discourse-cdn.com/v4/letter/m/e79b87/32.png) [@mdoroci](https://forum.shopware.com/u/mdoroci)
#### Post date: [3. Dezember 2019 um 15:46 UTC](https://forum.shopware.com/t/adding-a-new-custom-element/63321/1 "2019-12-03T15:46:37Z")

</div>

Hi,

I have created a Custom Element called ‚image-highlight‘&nbsp;

![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/2/24ffbec98ef8a45a84f8efc99bc7c804378d4d73.png)

here I have the media value.Now I need to access to this value in the Storefront but I don’t know how to do that.&nbsp;

For example for a youtube video I do like this&nbsp;

 ![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/1/14ce629a58a9e390dc074472cbe15a676ae35d6f.png)

Does anyone know how to do for an image?

Thanks in advance
