Hi there, I'm new to programming and I'm in the process of creating a website. However, when I open my HTML file directly, the images are not displayed. Strangely, when I use VS Code or Brackets editor's live server, all the photos and pictures show up perfectly. How can I make my index file display the images without having to open it with an editor?
Note: All my PNG and JPG files are stored in one folder, and I've specified their paths under src="/images/photo.jpg". I have tried various path combinations like ./images/photo.jpg, ../images/photo.jpg, images/photo.jpg, but none seem to work. I even attempted providing the full destination path, but still no luck.