This function rebuilds the cPanel interface's sprites. |
When you upload an icon, the system generates sprites automatically. You may need to generate sprites manually if your changes do not display correctly.
Examples
|
Input | Type | Description | Possible values | Example |
---|---|---|---|---|
method | string | Required The method to use to generate sprites. |
|
|
subtype | string | The sprite type to generate. This parameter defaults to |
| img |
format | string | The image format. This parameter defaults to | A valid image type. | jpg |
compression | integer | The level of compression to use. This parameter defaults to | An integer value that represents the amount of compression to use. | 100 |
imgtype | string | The image type. | If you use this parameter, you must supply a value of The x3 theme does not support group images. | icon |
Return | Type | Description | Possible values | Example |
---|---|---|---|---|
result | Boolean | Whether the function succeeded. |
| 1
|
Function information
About this moduleThe About cPanel API 2
Find a functionRelated functions
|