PHPackages                             asuwebplatforms/webspark-module-webspark\_cropper\_theme - 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. [Image &amp; Media](/categories/media)
4. /
5. asuwebplatforms/webspark-module-webspark\_cropper\_theme

AbandonedArchivedDrupal-module[Image &amp; Media](/categories/media)

asuwebplatforms/webspark-module-webspark\_cropper\_theme
========================================================

Adds cropping capabilities to media images.

1.0.1(3y ago)013.2kGPL-2.0-or-laterCSS

Since Jul 26Pushed 3y ago8 watchersCompare

[ Source](https://github.com/ASUWebPlatforms/webspark_cropper_theme)[ Packagist](https://packagist.org/packages/asuwebplatforms/webspark-module-webspark_cropper_theme)[ RSS](/packages/asuwebplatforms-webspark-module-webspark-cropper-theme/feed)WikiDiscussions main Synced yesterday

READMEChangelog (2)DependenciesVersions (4)Used By (0)

webspark\_cropper\_theme
========================

[](#webspark_cropper_theme)

Due to Layout Builder failing to load the backend theme, the crop and media library fail to work correctly. The module, Media Library Theme Reset, fixes issues with the media library but causes issues further down the line with the cropper. It should not be used. This module makes use of some functionality provided by the media library theme reset module but not all. Most functionality comes from the core Media modules themselves, although they may have been altered to add libraries. LIbraries added are direct copies of core seven/theme.

### Functions/Hooks

[](#functionshooks)

#### Template suggestions

[](#template-suggestions)

A template suggestion is provided for the the cropper details tab - details--crop-wrapper

#### Media Form Alter

[](#media-form-alter)

Adds back the seven media library libraries.

#### Preprocess views view fields media library

[](#preprocess-views-view-fields-media-library)

Adds a class to the view to provide a click to select mechanism.

#### Form Alter

[](#form-alter)

Used to add classes/libraries. Webspark Cropper theme libraries are specifically added here. Adding them to the Layout BuilderForm itself produced random outcomes. Sometimes the libraries were available. Sometimes not.

#### Media Library Add Form Alter

[](#media-library-add-form-alter)

Again used for adding libraries and classes, plus a missing string of text in the template.

#### Preprocess Links Media Library

[](#preprocess-links-media-library)

Adds classes to the links in the left pane of the cropper.

#### Media Library Add Form Upload/OEEmbed form alter

[](#media-library-add-form-uploadoeembed-form-alter)

Opportunity to add classes to these forms for styling.

#### Preprocess item list media library add form

[](#preprocess-item-list-media-library-add-form)

Allows to add classes specifically for adding items to library.

#### Preprocess media library item small

[](#preprocess-media-library-item-small)

This targets each pre-selected media item selected when adding new media in the modal media library dialog.

#### Preprocess fieldset media library widget

[](#preprocess-fieldset-media-library-widget)

Adding classes to fieldset.

#### Theme Registry alter

[](#theme-registry-alter)

A lot of heavy lifting here with templates. It is necessary to override the views templates and force it to use specific templates. Media specific templates are stored in the templates folder of this module.

#### Views Pre Render

[](#views-pre-render)

Adds classes

#### Theme library info alter

[](#theme-library-info-alter)

Requirements for ASU involve modifying the core seven theme dialog.css. These are minor modifications to display the close button differently, for example. The css, dialog-overrides.css, is stored in the css folder of the module. If alterations are required to the dialog.css they should be made here for the backend theme.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 55.6% 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 ~323 days

Total

2

Last Release

1426d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1ef1b4d562b29a2e31f1d7c671de1cc388b8afd25b833031f11e82f43ea82a87?d=identicon)[mlsamuel](/maintainers/mlsamuel)

![](https://www.gravatar.com/avatar/8f75e2a47756245df20e3851807bcdae3b357570e635f4a455ac863aa6ba0f3c?d=identicon)[chill5-0](/maintainers/chill5-0)

![](https://www.gravatar.com/avatar/2942d322525cdeac050d6126050d84324b4a6a8f4f04bfb3cbe02ac31f73bf4b?d=identicon)[tbutterf](/maintainers/tbutterf)

---

Top Contributors

[![mlsamuelson](https://avatars.githubusercontent.com/u/212131?v=4)](https://github.com/mlsamuelson "mlsamuelson (5 commits)")[![deptant](https://avatars.githubusercontent.com/u/79106037?v=4)](https://github.com/deptant "deptant (2 commits)")[![ovista](https://avatars.githubusercontent.com/u/5928150?v=4)](https://github.com/ovista "ovista (1 commits)")[![tbutterf](https://avatars.githubusercontent.com/u/6109406?v=4)](https://github.com/tbutterf "tbutterf (1 commits)")

### Embed Badge

![Health badge](/badges/asuwebplatforms-webspark-module-webspark-cropper-theme/health.svg)

```
[![Health](https://phpackages.com/badges/asuwebplatforms-webspark-module-webspark-cropper-theme/health.svg)](https://phpackages.com/packages/asuwebplatforms-webspark-module-webspark-cropper-theme)
```

###  Alternatives

[milon/barcode

Barcode generator like Qr Code, PDF417, C39, C39+, C39E, C39E+, C93, S25, S25+, I25, I25+, C128, C128A, C128B, C128C, 2-Digits UPC-Based Extention, 5-Digits UPC-Based Extention, EAN 8, EAN 13, UPC-A, UPC-E, MSI (Variation of Plessey code)

1.5k13.3M39](/packages/milon-barcode)[bkwld/croppa

Image thumbnail creation through specially formatted URLs for Laravel

510496.0k23](/packages/bkwld-croppa)[goat1000/svggraph

Generates SVG graphs

132849.6k3](/packages/goat1000-svggraph)[cohensive/embed

Media Embed (for Laravel or as a standalone).

120370.4k](/packages/cohensive-embed)[netresearch/rte-ckeditor-image

Image support in CKEditor for the TYPO3 ecosystem - by Netresearch

63991.3k4](/packages/netresearch-rte-ckeditor-image)[humanmade/tachyon-plugin

Rewrites WordPress image URLs to use Tachyon

87338.5k2](/packages/humanmade-tachyon-plugin)

PHPackages © 2026

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