tencent cloud

Feedback

Uploading and Processing File

Last updated: 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:
    
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support