Skip to content
David Mongeau-Petitpas edited this page Feb 4, 2014 · 11 revisions

Methods

Method Description
Image::url( $url, $width, $height, $params )
Image::url( $url, $params )
Generate an URL with image parameters.

Arguments
$url : The url of the original image.
$width : The width of the image. (Optional)
$height : The height of the image. (Optional)
$params : An array of image parameters. (Optional)

Return value
(string) An URL containing all the parameters
Image::make( $path, $params ) Create an Image instance and apply the parameters

Return value
(Imagine\Image\ImageInterface) An Image instance from the Image library
Image::serve( $url, $config ) Create an Image instance and apply the parameters
Image::parse( $url ) Parse an URL and get the original path of the image and the parameters

$url : The url of an image containing parameters.
Clone this wiki locally