# Can't crop image on upload

**URL:** <https://forum.getkirby.com/t/cant-crop-image-on-upload/31470>\
**Category:** Questions\
**Created:** [April 26, 2024, 4:02pm UTC](https://forum.getkirby.com/t/cant-crop-image-on-upload/31470 "2024-04-26T16:02:27Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Mark\_E](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/mark_e/32/10834_2.png) [@Mark\_E](https://forum.getkirby.com/u/Mark_E)\
**Post date:** [April 26, 2024, 4:49pm UTC](https://forum.getkirby.com/t/cant-crop-image-on-upload/31470/7 "2024-04-26T16:49:35Z")

</div>

Found this post [Image template for files to only accept images doesn't work](https://forum.getkirby.com/t/image-template-for-files-to-only-accept-images-doesnt-work/17040)

A files field doesn’t have a “direct” template option, the template is set under the upload option:

```auto
gallery:
  type: files
  uploads: 
    parent: site
    template: files-upload

```

That works, but I don’t know what the parent:site does?

---

_[View the full topic](https://forum.getkirby.com/t/cant-crop-image-on-upload/31470)._
