I’m creating a website using Glitch, and I was wondering if it was possible to upload an image file which I can then access with HTML. Otherwise, when I want to upload an image everyone can see no matter what browser they’re using, and the same with the Favicon.
As far as I’m concerned I need to upload the image to another website and copy the image URL from there. Correct me if I’m wrong.
When you upload an image to assets, you will get a cdn.glitch.com link that you can use. If you want to directly upload it to your site (like yoursite.glitch.me/image.png) you will need to use code to upload it.
how do you put it in the code? do u just copy the link and add that link and that’s it? or do u have to code it in. if u have to code it in what is the code?
Hi @techdude1610!
I understand you want to include an image in your HTML page. Can I see how you are trying to add this. You should use an <img> tag. You can checkout W3schools to see what this is and how to use. As the source, use the url you were given when you added the image as a asset to the project