WeChat public number get a list of materials how does this brain-stump interface show pictures?
Source: Internet
Author: User
KeywordsPHP WeChat public number
Based on the provided access material interface http://mp.weixin.qq.com/wiki/15/8386c11b7bc4cdd1499c572bfe2e95b3.html Get all the picture material, display is the anti-theft chain of pictures, snake essence disease, provide this interface, pictures but make a chain of anti-theft, how to play?
Reply content:
Based on the provided access material interface http://mp.weixin.qq.com/wiki/15/8386c11b7bc4cdd1499c572bfe2e95b3.html Get all the picture material, display is the anti-theft chain of pictures, snake essence disease, provide this interface, pictures but make a chain of anti-theft, how to play?
The first method:
The picture is turned by your server proxy output, the picture address your-domain.com/image-proxy?url=的图片地址 is changed, Get this address on your server url , and file_get_contents then output, if it still shows the anti-theft chain, use curl to simulate header refer to get the data output.
The second method:
Using the storage CDN feature of the seven Qiniu, I built one, using the following method:
For example https://mmbiz.qlogo.cn/mmbiz/Pib4RR89AhxbfibSHHQHf3tfgh1ibSt8M9vWbeBh6bBYTMsDOgzoAFibamLNRXWLV2LdMBqrUsF6hO38WNjQ9yXAUg/0?wx_fmt=jpeg
will be mmbiz.qlogo.cn changed to the HTTPS domain name provided by seven KN: ' O6kyd0ndv.qnssl.com '
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.