Torch Object Storage
Parameter | Description |
Original image protection | Select whether to enable Original image protection. |
Original image protection suffix | Select the file extension(s) to which you want to apply the original image protection feature. Once configured, all images with the selected extension(s) will be secured. The details are as follows:
|
Custom delimiter | You can use a custom delimiter to replace the image style parameter (?x-tos-process=style/) to shorten the image URL. The following four delimiters are supported: hyphen (-), underscore (_), forward slash (/), and exclamation mark (!). For example, if the URL with the image style parameter is https://test.tos-cn-beijing.volces.com/abc.jpg?x-tos-process=style/test, and you use a hyphen (–) as the custom delimiter, you can use the URL https://test.tos-cn-beijing.volces.com/abc.jpg-test to access the image. |
Suffix | After a custom delimiter and a suffix are set, TOS will automatically add the suffix to the image name during processing. This eliminates the need to manually enter the full name of the image in the URL. For example, if you set the custom delimiter to - and want to process an image named fast_a.jpg with the test style, you can set the suffix to _a.jpg, and then use the simplified URL "https://test.tos-cn-beijing.volces.com/fast-test" to process the image. If you use "https://test.tos-cn-beijing.volces.com/fast_a.jpg-test" to process the image, TOS will attempt to process an image named fast_a.jpg_a.jpg (the original filename with a suffix added). If fast_a.jpg_a.jpg does not exist, an error will occur. warning
|