Use this page in the UI when creating / editing an Image Optimizer service.
ID
The service ID. Must be unique for each service.
Used as the sid query parameter in HTTP API requests.
You can only edit this setting while creating a new service. After this it is locked forever.
Name
A descriptive name for the service.
Source
The service from which files should be provided.
Source path
If not blank, this will be prepended to the path requested from the source service (see above).
Only full path segments / "directories" (between two / characters) are allowed.
For example, if the incoming request is for http://example.com/images/products/laptop123.png and Path prefix (see above) is /images/ and this setting (Source path) is pictures/, the path requested from the source service will be pictures/products/laptop123.png.
(/images/ is removed and pictures/ is prepended).
The Image Optimizer service will only process files with content types image/jpeg, image/gif, image/png, image/webp.
All other files will be passed through unaltered.
The Image Optimizer server will also remove any query (anything from question mark (?) and forward) from the source path.
This is because the query parameters will typically be used for image generation. See Image Optimizer service for more on this.
Max width
Images wider than this value (in pixels) will be resized to fit.
Quality %
Image quality of compressed (JPEG and WebP) images.
Update (button)
Click to save / update the information on the page. Changes are NOT saved until you click this button.
Delete service (button)
(when editing existing service)
Click this button to delete the service.