how can we use firebase image file and resize them using get_Serving_URL

后端 未结 3 482
盖世英雄少女心
盖世英雄少女心 2020-12-04 03:06

I just started using google cloud services and found that the following can be only implemented using blob but i want to use image name from cloud storage.

Is there

3条回答
  •  一生所求
    2020-12-04 03:23

    You can use Firebase Javascript SDK to send your files to Google Storage, and build an API samples with PHP + library from AppEngine for generating the URL of the object, are same bucket locate.

    In app PHP, remember to put following content in app.yaml:

    runtime: php55
    api_version: 1
    
    handlers:
    - url: /.*
      script: index.php
    

    Before, using gcloud, deploy your sample API:

    gcloud app deploy
    

提交回复
热议问题