\ResampleImage
Class ResampleImage
Synopsis
class ResampleImage
extends DataExtension
{
- // members
- protected $config;
- // methods
- public void __construct()
- public int getMaxX()
- public int getMaxY()
- public void resampleImage()
- public void onAfterUpload()
- public void onAfterWrite()
Hierarchy
Extends
- DataExtension
Members
protected
- $config —
Methods
public
- __construct()
- getMaxX() — Get the max Y dimensions for image resampling from the yaml configs
- getMaxY() — Get the max Y dimensions for image resampling from the yaml configs
- onAfterUpload()
- onAfterWrite()
- resampleImage() — Resamples the image to the maximum Height and Width