图片存储放到云服务器,是很划算的事情,非常的便宜。
这里介绍的是阿里云图片服务器,使用:对象存储 OSS
对象存储 OSS
1.对象存储 OSS: https://www.aliyun.com/product/oss
在这个链接进行购买阿里云对象存储 OSS
2.购买后进入控制台
创建bucket
3.对象存储OSS,文档地址:https://help.aliyun.com/document_detail/31883.html
fecmall的图片可以集成,存储到阿里云对象存储OSS
阿里云对象存储OSS
4.创建AccessKey https://help.aliyun.com/document_detail/53045.html?spm=a2c4g.11186623.2.18.39c16685JnvEIV#concept-53045-zh
5.github aliyun oos php:https://github.com/aliyun/aliyun-oss-php-sdk/blob/master/README-CN.md
6.Bucket ACL文件读写权限设置成公用可读
公用可读
图片水印处理:https://help.aliyun.com/document_detail/44957.html?spm=a2c4g.11186623.6.1306.56081c62PMjCVP