Page 1 of 1

Help! Pics Won't Show...

PostPosted: 16. August 2019 19:27
by MartyBoi
Hi.... I am stuck, so I'm hoping someone could help me out. I am doing a series of tutorials on PHP. When trying to place on image on any given PHP extention, it won't display.

Example: On my index.php, I tried to insert a logo. <img src="img/logo.jpg" alt="logo">; into my header. Well, the logo don't show but a little gray color squire box is where I want to image to be.

Note: The logo will show on an index.html, without xammp running.

Does anyone know the issue?

Thank you

Re: Help! Pics Won't Show...

PostPosted: 17. August 2019 10:37
by Nobbie
Probably any path missmatch.

Where is your image stored (full pathname please)?
Where is your index.php stored (full pathname please)?
What exactly do you enter into your browser (full pathname please)?
What is the contents of index.php? Please show us the full code.

Last not least, it can also be a missing option (missing rights) in httpd.conf or in a local .htaccess file. We will run a test and find out after we know all pathnames and filenames.