ImageTransformerInterface

Type
Interface
Namespace
craft\base\imagetransforms
Implemented by
craft\imagetransforms\ImageTransformer
Since
4.0.0

TransformerInterface defines the common interface to be implemented by all image drivers.

View source (opens new window)

# Public Methods

Method Description
getTransformUrl() Returns the URL for an image transform.
invalidateAssetTransforms() Invalidates all transforms for an asset.

# getTransformUrl()

Returns the URL for an image transform.

View source (opens new window)

Arguments

Returns

string (opens new window) – The URL for the transform

# invalidateAssetTransforms()

Invalidates all transforms for an asset.

View source (opens new window)

Arguments