Skip to content

Kirby 3.6.6

new Image()

Constructor sets all file properties

new Image(array|string|null $props = null, string $url = null)

Parameters

Name Type Default Description
$props array|string|null null Properties or deprecated $root string
$url string null Deprecated argument, use $props['url'] instead

Parent class

Kirby\Image\Image inherited from Kirby\Filesystem\File