tencent cloud

Uploading and Processing File
마지막 업데이트 시간:2024-01-31 16:39:39
Uploading and Processing File
마지막 업데이트 시간: 2024-01-31 16:39:39
After successfully creating a bucket, you can upload files to it and process them in the following steps.

Directions

Uploading files

1. Log in to the CI console.
2. Click Bucket Management on the left sidebar to enter the bucket list.
3. Click Manage in the Operation column on the right of the target bucket to enter the bucket management page.
4. Select File Management on the left sidebar and click Upload Files.
5. Click Select Files in the pop-up window and select the target file.
6. Click OK. If the uploaded file is displayed in the file list, the upload is successful.
Note
If you upload a file that has the same name as an existing file, the existing file will be overwritten.

Processing files

Note
The following is the image scaling procedure. For more file processing operations, see the CI API documentation.
1. Log in to the CI console.
2. Click Bucket Management on the left sidebar to enter the bucket list.
3. Click Manage in the Operation column on the right of the target bucket to enter the bucket management page.
4. In the file list, find the target file and click Details on the right.
5. In the pop-up window, copy the URL of the image.
6. Open your browser and add processing parameters in the following format in the address bar.
Image URL?processing API name/processing operation name/processing parameter
Note:
If the access permission on the image file is private-read, you need to add image processing parameters to the signed address.
Scaling API: imageMogr2
Scaling operation name: thumbnail
Processing parameter: !50p
The address with parameters added is https://examplebucket-1250000000.cos.ap-chengdu.myqcloud.com/sample.jpeg?imageMogr2/thumbnail/!50p.
Paste this URL to your address bar. Then you will see the scaled image shown as below:

문제 해결에 도움이 되었나요?
더 자세한 내용은 문의하기 또는 티켓 제출 을 통해 문의할 수 있습니다.
아니오

피드백