Server blocks image

0

Developed a site where it does not load image. I inserted the following in the HTML code:

<img src="repositorio/imagem_principal/140800039.jpg">

However, the image does not appear when loading the HTML page on which this code is. The only way for her to appear is to first insert the direct URL of this image into the browser - link my cache). That way, when I refresh the HTML, then the image appears. Some important information:
When I developed the site I was using a Locaweb server (it works perfectly). When I migrated the site to the official client server (Hostgator) it presented this problem.
Does anyone have any tips to solve this impasse?

    
asked by anonymous 24.04.2017 / 21:20

1 answer

0

Just like Vanildo said, try adding a slash to the code,

<img src="/repositorio/imagem_principal/140800039.jpg">

Or try changing the directory image to "/repository/140800039.jpg"

Check if you did not put some special character or even some "Space" always happens to me

    
25.04.2017 / 02:59