You are here

public function AutomatedCropInterface::setOriginalSize in Automated Crop 8

Set the original sizes of image.

This method should also define the maximum size of the crop area to, ensure that the crop area does not exceed the original. If you want, to go beyond the original frame of the image redefine it.

Return value

self The plugin with originalImageSizes/maximum sizes property defined.

1 method overrides AutomatedCropInterface::setOriginalSize()
AbstractAutomatedCrop::setOriginalSize in src/AbstractAutomatedCrop.php
Set the original sizes of image.

File

src/AutomatedCropInterface.php, line 107

Class

AutomatedCropInterface
Provides an interface defining the AutomatedCrop plugin objects.

Namespace

Drupal\automated_crop

Code

public function setOriginalSize();