Last post May 09, 2019 09:33 AM by PatriceSc
May 09, 2019 07:47 AM|kengkit|LINK
hi guys.. all my images cannot be displayed properly when I open [home.html] in localhost.
* And seem images will be displayed as http://localhost:52439/website/home.html when I open image at http://localhost:52439/website/images/banner.png
But it's displayed properly if i open home.html in
May 09, 2019 09:33 AM|PatriceSc|LINK
When you have this kind of problem you should :
- use "view source" to check which path is used. Could it be that you are using a local path such as file://c:Works/../banner.png rather than http
- use F12 network in your browser to see what happens and for example that you don't try to get them from http://localhost:52439/images/banner.png rather
than from http://localhost:52439/website/images/banner.png
In short before tying to fix the problemn, use debugging tools and few extra minutes to first make sure about what is the exact problem. Then only you can easily fix the actual problem you found.