7 ways to fix Sina picture link (Sina picture bed) failure problem

888u

Last update at :2024-07-10,Edit by888u

Preface A few days ago, netizens reported that Sina Picture Browser was down. I still didn’t believe it. It wasn’t until the incident spread recently that I discovered that Sina Picture Browser turned on anti-leeching, which caused all the Sina pictures users put on the website to be invalid.

Solution Sina Picture Bed has the simplest anti-leeching enabled, that is, the source domain name that is not Sina is not loaded, so we can do it without the source.

Details:

For option 1, html, add it in the head tag

Option 2. Add referrerpolicy=”no-referrer” to img tag (browser is not compatible, self-test)

Option 3. The domain name prefix ww1, ww2, ww3, ws3, ws2, ws1 is ws1, ws2, ws3 (harmonized) Option 4. The https website loads http image resources

Option 5, Nginx has no future

add_header Referrer-Policy “no-referrer”;

Option 6, reverse generation (the higher the cache time, the better)

Option 7. Replace https://ws3.sinaimg.cn/ with the domain name address: https://cdn.sinaimg.cn.52ecy.cn

The above method is the safest for upgrading. Other solutions have browser compatibility issues. If you have any concerns, please make your own decision.

Site statistics will be abnormal, if you have any concerns, please make your own decision.

Reprinted from: https://www.hostloc.com/thread-543197-1-1.html

Recommended site search: Mainland China registration-free cdn, asp hosting space, Hong Kong IP, virtual host 0 yuan purchase, Korean cheap server, mainland China registration-free CDN, pw domain name, dynamic mainland China ip agent, overseas host, telecommunications ip Agent,

7 ways to fix Sina picture link (Sina picture bed) failure problem

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码