ImageManager
Image Tools
Return image dimensions
This function returns the dimensions of the image file that you specify.
Important:
When you disable the WebServer role, the system disables this function.
get/ImageManager/get_dimensions
Query parameters
image_filestring required
Example:image/myimage.jpg
The path to the file to measure.
Note:
Use the absolute filepath or a path relative to the user's home directory.
Response
HTTP Request was successful.
Example response
{
"apiversion": 3,
"func": "get_dimensions",
"module": "ImageManager",
"result": {
"data": {
"height": 300,
"width": 261
},
"status": 1
}
}