简体   繁体   中英

google chrome doesnt show photos on my websites

I want to show some images from another websites in my website. This is the code:

<img src="https://www.alaedin.travel/Files/Original/Hotels/mashhad/aban/Alaedin-Travel-Agency-Mashhad-Aban-Hotel-Facade-1.jpg">

Images arent shown in Chrome. But I can see them in FireFox. whats the problem?

The issue is with chrome being stuck in redirection as you can see in the logs: chrome 网络日志 I am not sure why is that behavior. I suggest that you store these pictures in a static folder as a temporary solution if you can, or try using fetch requests while enabling CORS.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM