# Kirby Image Crop Field

**URL:** <https://forum.getkirby.com/t/kirby-image-crop-field/14537>\
**Category:** Plugins\
**Created:** [June 10, 2019, 1:32pm UTC](https://forum.getkirby.com/t/kirby-image-crop-field/14537 "2019-06-10T13:32:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![steirico](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/steirico/32/5466_2.png) [@steirico](https://forum.getkirby.com/u/steirico)\
**Post date:** [June 10, 2019, 1:32pm UTC](https://forum.getkirby.com/t/kirby-image-crop-field/14537/1 "2019-06-10T13:32:14Z")

</div>

This plugin provides a field for cropping images visually and very flexibly.

[https://github.com/steirico/kirby-plugin-image-crop-field](https://github.com/steirico/kirby-plugin-image-crop-field)

![kirby-plugin-image-crop-field](https://user-images.githubusercontent.com/10421363/59161680-0b683280-8ae6-11e9-8bc4-5b9145f34387.gif)

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [June 10, 2019, 2:04pm UTC](https://forum.getkirby.com/t/kirby-image-crop-field/14537/2 "2019-06-10T14:04:57Z")

</div>

What is the difference to the image clip field by @moeli?

> **[mullema/k3-image-clip](https://github.com/mullema/k3-image-clip)**
>
> Visually crop images with a handy image editor directly inside the panel - mullema/k3-image-clip

---

<div class="post-metadata">

**Author:** ![steirico](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/steirico/32/5466_2.png) [@steirico](https://forum.getkirby.com/u/steirico)\
**Post date:** [June 10, 2019, 2:57pm UTC](https://forum.getkirby.com/t/kirby-image-crop-field/14537/3 "2019-06-10T14:57:52Z")

</div>

First of all: @moeli’s plugin is a very great plugin. Historically, my plugin was developed for kirby-v2 but never published. Since my client wanted me to switch to kirby-v3, I had to port the plugin, as well. In the middle of that process, @moeli’s plugin came to my attention. I considered to use it and to abandon the development/port of mine. Unfortunately, I came to the conclusion that switching to `mullema/k3-image-clip` would be quite cumbersome in regards of the different way and philosophy on how the crop data is stored. So I decided to finish my plugin and to publish it anyway.

Basically, @moeli’s plugin provides a field [based on the `files field`](https://github.com/mullema/k3-image-clip/blob/master/src/fields/imageClip.vue#L66) and adds the clip/crop functionality.

As such, the field is added to page blueprints. The field allows first to select the desired images and then to crop them. References to these images as well as the corresponding crop data is stored along with the page data.

In contrast, my plugin provides a field than can be used in file blueprints. As such, one has not to select the image from a list first and the crop data is stored along with the image.

Unfortunately, I was not able to find an appropriate way to use `mullema/k3-image-clip` in a file blueprint.

From that perspective, I see these plugins as complementary. But seen the [rough plans for kirby v3.3.0](https://www.notion.so/Kirby-3-Roadmap-a2e5ecc7cf7842208e6fcad30a6d0b92) these plugins might become obsolete, anyways.

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [June 10, 2019, 3:05pm UTC](https://forum.getkirby.com/t/kirby-image-crop-field/14537/4 "2019-06-10T15:05:08Z")

</div>

@steirico Thanks for elaborating. I think knowing the differences helps people to choose the right plugin for their purpose, that’s the reason why I was asking.
