Get the App
SLTechnology News&Howtos  ›  Development  › 

How to solve the problem of displaying pictures through Wechat jssdk interface

Shulou Source: shulou.com Published: 2022-06-03 14:44:18 11月12日 Update

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.

Tags: Picture interface question code domain name time content more version article test research good practical security secondary domain name public image backup attribute Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno Huawei Shulou Information Shulou Technology Docker