Image
imageUrl(width, height, category)
Argument
Type
Default
Valid Values
width
Integer
640
height
Integer
480
category
String
NULL
"cats", "cars", ...
{
"imageUrl": "imageUrl"
}{
"imageUrl": "https://loremflickr.com/640/480/kitten?random=1"
}image(sourceDir, width, height, category)
Argument
Type
Default
Valid Values
sourceDir
String
"/tmp"
''wp-content/uploads', 'my_special_path/'
width
Integer
640
height
Integer
480
category
String
NULL
"cats", "cars", ...
{
"image": "image"
}{
"image": "/tmp/1ee2c98a168ffdff737176277eac6142.jpg"
}Last updated
Was this helpful?