Skip to content

Commit ba80101

Browse files
[6.x] Image cropping (#13875)
Co-authored-by: Jason Varga <jason@pixelfear.com>
1 parent b0ecd7d commit ba80101

8 files changed

Lines changed: 592 additions & 2 deletions

File tree

lang/en/messages.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@
6161
'collections_route_instructions' => 'The route controls the entries URL pattern. Learn more in the [documentation](https://statamic.dev/collections#routing).',
6262
'collections_sort_direction_instructions' => 'The default sort direction.',
6363
'collections_taxonomies_instructions' => 'Connect entries in this collection to taxonomies. Fields will be automatically added to publish forms.',
64+
'crop_save_as_copy_confirm' => 'Save the cropped image as a new copy?',
65+
'crop_save_copy_or_replace' => 'Would you like to save this as a new copy or replace the original image?',
6466
'dictionaries_countries_emojis_instructions' => 'Include flag emojis in country labels.',
6567
'dictionaries_countries_region_instructions' => 'Optionally filter the countries by region.',
6668
'dirty_navigation_warning' => 'You have unsaved changes. Are you sure you want to leave this page?',

package-lock.json

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
"clsx": "^2.1.1",
6363
"codemirror": "5.65.12",
6464
"cookies-js": "^1.2.2",
65+
"cropperjs": "^1.6.2",
6566
"cva": "^1.0.0-beta.3",
6667
"dompurify": "^3.3.1",
6768
"floating-vue": "^5.2.2",

0 commit comments

Comments
 (0)