-
Notifications
You must be signed in to change notification settings - Fork 80
Image facade
David Mongeau-Petitpas edited this page Mar 29, 2015
·
11 revisions
Generate an URL with image parameters.
-
$url
: The url of the original image. -
$width
: The width of the image. Ifnull
priority is on$height
-
$height
: The height of the image. Ifnull
priority is on$width
. If both$width
and$height
arenull
the image is not resized. -
$params
: An array of image parameters. (Optional)
(string)
An URL containing all the parameters
--
Create an Image instance and apply the parameters
(Imagine\Image\ImageInterface)
An Image instance from the Image library
--
Create an Image instance and apply the parameters
-
$url
: The url of an image containing parameters. -
$config
: An array of serving configuration options
(Illuminate\Http\Response)
A response object for the image
--
Parse an URL and get the original path of the image and the parameters.
-
$url
: The url of an image containing parameters
(array)
An array containing the original path
of the image and manipulation options