class ImageModel (View source)

The Image controller.

Methods

static Response
copyResized(string $filename, string $url, mixed $width, mixed $height, mixed $crop)

Copy an image resized based on $_POST.

static string
select(string $url)

Select an image.

Details

static Response copyResized(string $filename, string $url, mixed $width, mixed $height, mixed $crop)

Copy an image resized based on $_POST.

Parameters

string $filename
string $url
mixed $width
mixed $height
mixed $crop

Return Value

Response the response object

static string select(string $url)

Select an image.

Parameters

string $url

Return Value

string the rendered HTML