# Add media filed in custom model

**URL:** <https://forum.shopware.com/t/add-media-filed-in-custom-model/59710>\
**Category:** shopware AG\
**Created:** [25. Mai 2019 um 07:01 UTC](https://forum.shopware.com/t/add-media-filed-in-custom-model/59710 "2019-05-25T07:01:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![janicevn](https://avatars.discourse-cdn.com/v4/letter/j/8e8cbc/32.png) [@janicevn](https://forum.shopware.com/u/janicevn)\
**Post date:** [25. Mai 2019 um 07:01 UTC](https://forum.shopware.com/t/add-media-filed-in-custom-model/59710/1 "2019-05-25T07:01:57Z")

</div>

Hi, I do not have to much expirance in Shopware and biggest problem for me is ExtJs and backend. I create custom Models where one field should be image. How I can upload image from backend? My custom media field is set as association with Model\Media. I also try to set it as string, no results in both cases. Can anyone give some direction how to make&nbsp; it?
