I am new to programming in PHP. I've created a page in bootstrap, everything worked fine, all icons were there. But after renaming it to test.php (to add some php functions in the future) and moving all the files and folders to Wamp directory (into C:/wamp/www) the images didn't show up. I've googled that for the favicon I need to give absolute path as href="file://C:/wamp/icons/favicon.png"
but for some reason this doesn't work for the Bootstrap navbar-brand class. All relevant images are under folder called 'icons', all names are in lower-case. My code:
<body>
<nav class="navbar navbar-default">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="test.html"><img alt="Brand" src="icons/main.png"></a>
I've tried to specify the path the same way as for the favicon, but for some reason it doesn't work. I've even tried defining the path as 'http://localhost/icons/main.png' but still nothing. Any ideas please?
Current directory structure looks like this:
C:
|-wamp
|-www
| |-bootstrap
| |-css
| |-test.php
| |-icons
| |-favicon.png
| |-main.png
|-icons
|-favicon.png
|-main.png