premium-contao-themes/pct_image_crop

Image cropping extension for Contaos back end using the cropper.js script

Installs: 412

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 2

Forks: 0

Open Issues: 4

Language:JavaScript

Type:contao-module

1.2.3 2018-10-16 07:09 UTC

This package is not auto-updated.

Last update: 2024-12-22 07:01:43 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