【Tencent CloudCos storage], you can edit the article to upload the picture, upload the picture to the object storage COS and returnCDNDomain name, pictures saved inTencent CloudBuckets.
objective
adoptTencent CloudObject storage image processing to realize image processing inTencent CloudReal time style processing conversion is implemented, so that the blog can get a better access experience by using the processed images.
For example, convert a jpg image to a webp image, control the image quality, and achieve the best balance between quality and size - compress the image while ensuring the quality as much as possible.
process
The following are the new operations after using the plug-in normally.
1. Since I use the object storage V4 version, open the image bucket, select [Image Processing], and the right side prompts me to set more settings【Data Vientiane】。
2. After opening the data Vientiane, click on the image bucket, configure [User defined Domain Name], and openCDN, set the anti-theft chain, etc.
3. [Style Management], set the style separator (I set it as! Here), and save the new style (I set it as the style name webp_1920w).
4. In the background of the blog,Tencent CloudThe cos storage plug-in sets the new custom domain name in the above two steps.
Copyright notice:This article uses the "Signature Sharing 4.0 International in the Same Way" Creative Sharing Agreement. Please follow the signature agreement when reprinting or using.