PHPackages                             nerds-and-company/cropassets - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. nerds-and-company/cropassets

AbandonedArchivedCraft-plugin[Utility &amp; Helpers](/categories/utility)

nerds-and-company/cropassets
============================

Crop Assets Plugin for Craft CMS

2.1.0(9y ago)1178MITPHPPHP ^5.3|^7.0

Since Mar 18Pushed 9y ago2 watchersCompare

[ Source](https://github.com/nerds-and-company/cropassets)[ Packagist](https://packagist.org/packages/nerds-and-company/cropassets)[ RSS](/packages/nerds-and-company-cropassets/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (2)Versions (7)Used By (0)

Crop Assets plugin for Craft CMS [![Scrutinizer Code Quality](https://camo.githubusercontent.com/81dff74a065fed55778c680070f1df75f120a411bfb4d5c899bc334ba1a53a49/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6e657264732d616e642d636f6d70616e792f63726f706173736574732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/boboldehampsink/cropassets/?branch=master) [![Latest Stable Version](https://camo.githubusercontent.com/3153ccde61754e68afff9ec09b29e145c9cf42ef489496df5b9cb6a50d032b50/68747470733a2f2f706f7365722e707567782e6f72672f6e657264732d616e642d636f6d70616e792f63726f706173736574732f762f737461626c65)](https://packagist.org/packages/nerds-and-company/cropassets) [![Total Downloads](https://camo.githubusercontent.com/578e5b1996b6069015ac728ea1a64c3a3dee8b357ac565b1f3097597fca1dd08/68747470733a2f2f706f7365722e707567782e6f72672f6e657264732d616e642d636f6d70616e792f63726f706173736574732f646f776e6c6f616473)](https://packagist.org/packages/nerds-and-company/cropassets) [![Latest Unstable Version](https://camo.githubusercontent.com/0b0a1d9fdedd06847e7d67ab3c6109784af01e27e644bc2a1cf8cdcdfb03fea5/68747470733a2f2f706f7365722e707567782e6f72672f6e657264732d616e642d636f6d70616e792f63726f706173736574732f762f756e737461626c65)](https://packagist.org/packages/nerds-and-company/cropassets) [![License](https://camo.githubusercontent.com/bd2c9224ff2ee7bb5eec3cf0c18bb1982418407cc03a2ba9b6e06c2d02f058d3/68747470733a2f2f706f7365722e707567782e6f72672f6e657264732d616e642d636f6d70616e792f63726f706173736574732f6c6963656e7365)](https://packagist.org/packages/nerds-and-company/cropassets)
============================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#crop-assets-plugin-for-craft-cms-----)

Plugin/FieldType that allows you to crop an asset and show it in the front-end.

**Important**
The plugin's folder should be named "cropassets"

Install
=======

[](#install)

This plugin depends on [cropper.js](https://github.com/fengyuanchen/cropperjs)Composer will install this package. When not user composer, either run npm install in the plugin root directory or extract cropperjs into the PLUGIN\_ROOT/node\_modules/cropperjs folder.

Usage
=====

[](#usage)

This plugin provides a Crop Assets FieldType that works like the Asset FieldType.
You can upload/select an asset and a crop modal will appear. After cropping you can show the cropped asset in the front-end.

Changelog
=========

[](#changelog)

\##2.1.0###

- Enable live preview for cropped assets

\##2.0.1###

- Use a [polyfill library](https://github.com/blueimp/JavaScript-Canvas-to-Blob) for canvas to blob in ie11 and below
- Keep the cropped asset when validation fails and re-rendering the input

\###2.0.0###

- Rebuild to make use of client-side cropping with [cropperjs](https://github.com/fengyuanchen/cropperjs)
- This is mainly done to prevent memory issues on the server.
- The cropped asset is stored in a configured asset source
- Renamed vendor to nerds-and-company

\###1.0.2###

- Verify that the image is present to prevent errors

\###1.0.1###

- Fixed case sensitive path to js resource

\###1.0.0###

- Initial release

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~58 days

Recently: every ~72 days

Total

6

Last Release

3464d ago

Major Versions

1.0.2 → 2.0.02016-08-18

### Community

Maintainers

![](https://www.gravatar.com/avatar/473941cfd5dd7f9070a5ee2e0c7fe71ef6f9aed74e40cee91cebf77a2392bb27?d=identicon)[nerds-and-company](/maintainers/nerds-and-company)

---

Top Contributors

[![bvangennep](https://avatars.githubusercontent.com/u/12080429?v=4)](https://github.com/bvangennep "bvangennep (34 commits)")

### Embed Badge

![Health badge](/badges/nerds-and-company-cropassets/health.svg)

```
[![Health](https://phpackages.com/badges/nerds-and-company-cropassets/health.svg)](https://phpackages.com/packages/nerds-and-company-cropassets)
```

###  Alternatives

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.3k10](/packages/helsingborg-stad-municipio)[mautic/core

Mautic Open Source Distribution

9.8k2.6k9](/packages/mautic-core)[mediawiki/maps

Adds various mapping features to MediaWiki

78149.7k3](/packages/mediawiki-maps)[rainlab/blog-plugin

Blog plugin for October CMS

17158.6k](/packages/rainlab-blog-plugin)[civicrm/civicrm-drupal-8

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

19246.3k2](/packages/civicrm-civicrm-drupal-8)[starcitizentools/citizen-skin

A beautiful, usable, responsive MediaWiki skin with in-depth extension support. Originally developed for the Star Citizen Wiki.

3355.8k](/packages/starcitizentools-citizen-skin)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
