I’m trying to implement the script below to print the images on the supposed pages but it still doesn’t print the image, it shows it as a dead image link instead. I tried changing the image path, yet it didn’t work.
<?php
if ($currentpage == '/services/')
print('<img src="path/to/services.png" alt=""/>');
elseif ($currentpage == 'contact.php')
print('<img src="path/to/image.png" alt=""/>');
else
print('<img src="path/to/image.png" alt=""/>');
?>
There is only one explanation and that is that the path is wrong. Right click the dead image and open it in a new window and see what the link is. Then you probably can figure out how you should change the path to get it right.