How to solve the problem of displaying pictures through Wechat jssdk interface
The purpose of this article is to share with you how to solve the problem of how to display pictures through Wechat's jssdk interface. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
I have studied the development of this Wechat public platform in the past few days.
In the use of chooseImage interface call to get the picture has not been displayed, Baidu some posts are not very good results, and then finally figured out how to display it, and now write it out to make a backup
Some problems encountered when using Wechat JSDK
When configuring the S interface security domain name, you need to use the first-level domain name, not the second-level domain name, and you can't use http or https.
For example, the website of uploading pictures for my test is
The main code in applinzi.com//html is the test image interface for uploading pictures or selecting image interfaces from mobile phone albums.