If an image does not load in your website, you can troubleshoot this problem. I bring this up, as confusing urls with filesystem paths is one of the hardest things to understand when first learning php web development. The problem with that is that when your code gets moved to a server with a real hostname, all those urls will be invalid. Multiple tings may be causing your loading issue: Assuming that "C:\Users\Public\Pictures\" is where the WAMP web server thinks public files are available at to serve, then you would want to create an "images" directory in in and put your image file in that directory and then reference it like . Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Not the answer you're looking for? I am using google chrome as a server and the structure of my Locally you have to put all the files you need inside the wamp directory, and access it with relative path.. (but what is strange is that I can read a Json file in absolute path, but not the images !). Asking for help, clarification, or responding to other answers. How do I modify the URL without reloading the page? Site design / logo 2022 Stack Exchange Inc; user contributions licensed under CC BY-SA. The 26-inch navy blue hard-sided roller bag and its contents were estimated to be worth $2,325, a criminal Here are the most common reasons Incorrect file paths File names are misspelled Wrong file extension Files are missing The read permission has not