How to make a link photo from my computer

Hello , I want to use my photos in my computer to make a src="", I don’t know how to do , does anyone can help me ? thank you very much.

1 Like

The images must be hosted on a web server. If this is a sample project, you can search for free image hosting and choose one that gives you access to a permanent link.

2 Likes

That’s really cool , Thank you very much .

if working locally or on a web server you can add the image to the directory you are working in and use a relative link to the image.

<img src="image.png" alt="blue bird">

yeah, this second link is from the free image host.

If you still want to show your own images to the site. You can use imgur.com to host your images for absolutely free.
Just visit https://imgur.com/ and create an account if you don’t already have one. Then go to images by clicking on the images from the dropdown at the top right.

There you can upload a new image. After the image upload is done. Click on the image and you will have all sorts of links to use on other sites.

Here is how it will look.

On the right side, you can see all sorts of embeds.

wow, this is cool . thanks for your response thank you very much! :smiley:

1 Like

I use https://imgbb.com/ because I like not having to make an account.

1 Like

1)in you projects folder you can add a extra folder named assets and there you can store your photo.
2)the url will be for example : assets/photo01.jpg
Screenshot

1 Like

ah, ok I see thank you :grin:

thank you, can make a video host there ?

Yes I think you can upload a video to your site similar to a photo.
On your own site as Kate mentioned. How to make a link photo from my computer - #9 by KateSant

Welcome to the community! :house_with_garden:

You can bundle up your images in a file on your local computer and upload it to your project on your code editor. host your project on github or netlify.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.