premium-contao-themes / pct_image_crop
Image cropping extension for Contaos back end using the cropper.js script
Installs: 411
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 0
Open Issues: 4
Language:JavaScript
Type:contao-module
Requires
- php: >=5.6
- contao-community-alliance/composer-plugin: ~2.4 || ~3.0
- contao/core-bundle: ^3.5 || ~4.4
Requires (Dev)
- contao/manager-plugin: ^2.0
Replaces
- contao-legacy/pct_image_crop: 1.2.3
This package is not auto-updated.
Last update: 2024-10-27 06:08:01 UTC
README
About
Crop an image directly in the content element using the copperjs script (https://fengyuanchen.github.io/cropper/)
Installation
- Clear the internal cache
- Copy the module folder to /system/modules, update database
- A public folder will be created in the files folder (/files/pct_image_crop)
Installation Contao 4
- Clear symphony cache: delete all folders in /var/cache
- Clear symlinks in /web folder: delete all folders within the /web folder
- Copy the module folder to /system/modules
- Open install tool: Update database also rebuilds symlinks to modules in /web folder
- A public folder will be created in the files older (/files/pct_image_crop)
- System maintenance: Rebuild symlinks (rebuilds symlinks to /files folder)
Usage
- Choose "PCT Image Crop" as image size option in regular image or text contao content elements
- PCT CustomElements: Check the "Image crop" option and "Size" option for the image attribute
- The cropped images will be in the /files/pct_image_crop folder