【发布时间】:2015-03-26 11:02:51
【问题描述】:
因为 file_open_contents() 在 GAE php 中被禁用。 任何转换图像文件(例如 png / jpg)并在 dataurl 中显示图像以隐藏文件名和路径的有效方法
【问题讨论】:
-
您应该能够在 GAE 上对本地文件和 GCS 文件进行 file_open_contents。否则, base64_encode(file_get_contents('gs://
/ ')) 在任何情况下都应该工作。
标签: php html image google-app-engine base64