class Glide implements ImageServiceInterface (View source)

Traits

Properties

protected $cropParamsKeys from  ImageServiceDefaults
protected Repository $config
protected Application $app
protected Request $request

Methods

string
getSocialFallbackUrl()

No description

string
getTransparentFallbackUrl()

No description

__construct(Repository $config, Application $app, Request $request)

No description

mixed
render(string $path)

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
getPresetUrl($id, $preset)

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, Application $app, Request $request)

No description

Parameters

Repository $config
Application $app
Request $request

mixed render(string $path)

No description

Parameters

string $path

Return Value

mixed

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 getPresetUrl($id, $preset)

No description

Parameters

$id
$preset

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