2
Someone uses the company’s hosting service 000webhost to do tests ? I am facing a problem with images that are not loading, the 'folder' is there and the 'image' is there with the correct names but still does not load
I really have no idea what it might be.
File code index php.
<div class="logo">
<figure>
<img src="logo/logo.png" alt="Logo da empresa Hard">
<figcaption>
Logo da empresa Hard
</figcaption>
</figure>
</div>
This is the server’s html response
aba network
Checks in the
Console
if you are returning an error.– NoobSaibot
no error on console
– Adriano Back
And on the tab Network ? This which the status returning ?
– NoobSaibot
updated the post
– Adriano Back
Ever tried to put the full path? With the website address? Are you using
.htaccess
?– NoobSaibot
yes I tried using
$_SERVER['HTTP_HOST']."/logo/logo.png"
and the same mistake happens– Adriano Back
does it have something to do with the . php extension of the index? why I made a site with extension . html and loaded the images correctly.
– Adriano Back
Jah tested in other browsers?
– Sam
yes I tested on Mozilla and Chrome
– Adriano Back