class Imgix implements ImageServiceInterface (View source)

Traits

Properties

protected $cropParamsKeys from  ImageServiceDefaults
protected Repository $config

Methods

string
getSocialFallbackUrl()

No description

string
getTransparentFallbackUrl()

No description

__construct(Repository $config)

No description

string
getUrl(string $id, array $params = [])

No description

string
getUrlWithCrop(string $id, array $cropParams, array $params = [])

No description

string
getUrlWithFocalCrop(string $id, array $cropParams, int $width, int $height, array $params = [])

No description

string
getLQIPUrl(string $id, array $params = [])

No description

string
getSocialUrl(string $id, array $params = [])

No description

string
getCmsUrl(string $id, array $params = [])

No description

string
getRawUrl(string $id)

No description

array|null
getDimensions(string $id)

No description

array
getCrop(array $crop_params)

No description

array
getFocalPointCrop(array $crop_params, int $width, int $height)

No description

Details

string getSocialFallbackUrl()

No description

Return Value

string

string getTransparentFallbackUrl()

No description

Return Value

string

__construct(Repository $config)

No description

Parameters

Repository $config

string getUrl(string $id, array $params = [])

No description

Parameters

string $id
array $params

Return Value

string

string getUrlWithCrop(string $id, array $cropParams, array $params = [])

No description

Parameters

string $id
array $cropParams
array $params

Return Value

string

string getUrlWithFocalCrop(string $id, array $cropParams, int $width, int $height, array $params = [])

No description

Parameters

string $id
array $cropParams
int $width
int $height
array $params

Return Value

string

string getLQIPUrl(string $id, array $params = [])

No description

Parameters

string $id
array $params

Return Value

string

string getSocialUrl(string $id, array $params = [])

No description

Parameters

string $id
array $params

Return Value

string

string getCmsUrl(string $id, array $params = [])

No description

Parameters

string $id
array $params

Return Value

string

string getRawUrl(string $id)

No description

Parameters

string $id

Return Value

string

array|null getDimensions(string $id)

No description

Parameters

string $id

Return Value

array|null

protected array getCrop(array $crop_params)

No description

Parameters

array $crop_params

Return Value

array

protected array getFocalPointCrop(array $crop_params, int $width, int $height)

No description

Parameters

array $crop_params
int $width
int $height

Return Value

array