I’ve been working on the second project in HTML and I would like to use my own images for my biryani recipe. I tried linking to my LinkedIn post, which didn’t work, and images saved on my desktop don’t work either. I was building a portfolio on virtual studio code as well, with the same issue when I nested the folder with the image in my HTML file. I’ve tried to get websites to host the image and putting in the link as the src but I can’t seem to get anything to work. Some direction would be greatly appreciated!
Hi,
Welcome to the forum!
You should be able to add your own images on vscode. If you have your images hosted on other websites but still can’t get the image shown on the page, then maybe there’s something wrong in your code?
Can you share apart of your code so we can see where the problem lies?
Hi. You need to upload them to a public server such as Google photos and then get the html link that you can them use in the src attribute on the img element.