When I visit a website, I find that some pictures are not displayed, but they are displayed on the Web browser, and some models on the mobile terminal have problems. The test model is iphone6s

The main reason is that HTTPS sites block HTTP source images. The site found many articles without a solution, some say, this is a load security mechanism.

When you almost give up and finally find a solution, it works.

Solution: Add in the header of the page

<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">Copy the code

Automatically upgrade insecure HTTP requests to HTTPS Note: All HTTP connections are upgraded to HTTPS, so all HTTP resources must have corresponding HTTPS.