# Adding photos to website

**URL:** <https://forum.freecodecamp.org/t/adding-photos-to-website/437091>\
**Category:** General\
**Created:** [December 25, 2020, 1:11am UTC](https://forum.freecodecamp.org/t/adding-photos-to-website/437091 "2020-12-25T01:11:58Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Crinkly](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/crinkly/32/211289_2.png) [@Crinkly](https://forum.freecodecamp.org/u/Crinkly)\
**Post date:** [December 25, 2020, 1:11am UTC](https://forum.freecodecamp.org/t/adding-photos-to-website/437091/1 "2020-12-25T01:11:58Z")

</div>

Hi, I’m trying to add a background photo to a website. I’ve grabbed a free one from [Pixabay.com](http://Pixabay.com), and it goes on for a while, then keeps disappearing a day or so later. Also, how do I apply photos from my own files to a website, since they’re not attached to a URL? I’ve tried FileZilla, but cannot make sense of it. Any advice, please? I’m tired of relying on finding photos that I can use from other sites, when they’re hard to find and keep disappearing anyway. Going bonkers here…

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [December 25, 2020, 1:15am UTC](https://forum.freecodecamp.org/t/adding-photos-to-website/437091/2 "2020-12-25T01:15:39Z")

</div>

use something that lets you upload the pictures, like github, or repl.it, or codesandbox, or [codepen.io](http://codepen.io) projects (you can have one in the free version)

---

<div class="post-metadata">

**Author:** ![Crinkly](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/crinkly/32/211289_2.png) [@Crinkly](https://forum.freecodecamp.org/u/Crinkly)\
**Post date:** [December 25, 2020, 5:11am UTC](https://forum.freecodecamp.org/t/adding-photos-to-website/437091/3 "2020-12-25T05:11:49Z")

</div>

Ok, thank you. Do you know which is the easiest one for dummies like me? I tried github and I can’t get it to work. The [codepen.io](http://codepen.io) won’t let me do it without upgrading to Pro. I may have to give up. Thanks for your help, I may not be cut out for this. ☹

---

<div class="post-metadata">

**Author:** ![jwilkins.oboe](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/jwilkins.oboe/32/179497_2.png) [@jwilkins.oboe](https://forum.freecodecamp.org/u/jwilkins.oboe)\
**Post date:** [December 25, 2020, 5:20am UTC](https://forum.freecodecamp.org/t/adding-photos-to-website/437091/4 "2020-12-25T05:20:03Z")

</div>

You could try using a google drive link.

> **[Google Drive Direct Link Generator | WordPress Plugin](https://www.wonderplugin.com/online-tools/google-drive-direct-link-generator/)**
>
> Google Drive Direct Link Generator for Image, MP3 and Video Files Enter a Google Drive sharing URL, for example, https://drive.google.com/file/d/1kazyfB4JHoZSmczN-FBVXB4C8qN5b46G/view?usp=sharing: Tutorial: How to get Google Drive sharing URL Enter...

---

<div class="post-metadata">

**Author:** ![Crinkly](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/crinkly/32/211289_2.png) [@Crinkly](https://forum.freecodecamp.org/u/Crinkly)\
**Post date:** [December 25, 2020, 6:58am UTC](https://forum.freecodecamp.org/t/adding-photos-to-website/437091/5 "2020-12-25T06:58:03Z")

</div>

Hi, thank you, I don’t know why, this didn’t work for me either. I appreciate the help. I think I’d better just give up, I just don’t have the brain for this, I’ll never figure out what I’m doing. 😢

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [December 25, 2020, 8:01am UTC](https://forum.freecodecamp.org/t/adding-photos-to-website/437091/6 "2020-12-25T08:01:11Z")

</div>

have you tried repl.it?

---

<div class="post-metadata">

**Author:** ![jwilkins.oboe](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/jwilkins.oboe/32/179497_2.png) [@jwilkins.oboe](https://forum.freecodecamp.org/u/jwilkins.oboe)\
**Post date:** [December 25, 2020, 8:06am UTC](https://forum.freecodecamp.org/t/adding-photos-to-website/437091/7 "2020-12-25T08:06:57Z")

</div>

I would continue to research on sites for free hosting options.

> **[Best Free Image Hosting Sites Guide For 2020 - Make A Website Hub](https://makeawebsitehub.com/free-photo-hosting/)**
>
> A collection of all the best free image hosting sites available on the web in 2020. No need to pay for storage when you can use these resources.

---

<div class="post-metadata">

**Author:** ![Abdulkareem](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/abdulkareem/32/137102_2.png) [@Abdulkareem](https://forum.freecodecamp.org/u/Abdulkareem)\
**Post date:** [December 25, 2020, 6:08pm UTC](https://forum.freecodecamp.org/t/adding-photos-to-website/437091/8 "2020-12-25T18:08:54Z")

</div>

Apart from dragging photos from pixabay or any other site. If you need an image then you go to any site, tap on the image. After selecting the particular image, press on the image for a long time. There will be a pop up, you will see open image in new tab. Then, tap that option. You’ll be taken to a new tab in your browser. If you are using Chrome, from the search box click on the link and copy. Now go to your text editor, where your code lie. In your  
 ![]() paste the link in between the colon. I HOPE YOU UNDERSTAND. THANK YOU!!!

---

<div class="post-metadata">

**Author:** ![Crinkly](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/crinkly/32/211289_2.png) [@Crinkly](https://forum.freecodecamp.org/u/Crinkly)\
**Post date:** [December 29, 2020, 5:10am UTC](https://forum.freecodecamp.org/t/adding-photos-to-website/437091/9 "2020-12-29T05:10:13Z")

</div>

Thank you, Abdulkareem, that definitely worked for me! I think there must be something wonky with Pixabay, but your solution helped me with other images, so I replaced the Pixabay one. You’ve helped me so much with my immediate problem, it gave me more workable options to choose from, and the other image I used stays on there. Thank you a bazillion times! 😀

---

<div class="post-metadata">

**Author:** ![Crinkly](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/crinkly/32/211289_2.png) [@Crinkly](https://forum.freecodecamp.org/u/Crinkly)\
**Post date:** [December 29, 2020, 5:11am UTC](https://forum.freecodecamp.org/t/adding-photos-to-website/437091/10 "2020-12-29T05:11:01Z")

</div>

Thank you, I’ll check it out. Maybe it’ll be a bit more user friendly than Github.

---

<div class="post-metadata">

**Author:** ![Crinkly](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/crinkly/32/211289_2.png) [@Crinkly](https://forum.freecodecamp.org/u/Crinkly)\
**Post date:** [December 29, 2020, 5:19am UTC](https://forum.freecodecamp.org/t/adding-photos-to-website/437091/11 "2020-12-29T05:19:19Z")

</div>

Thank you jwilkins.oboe, I’ll check that out, I’m sure I’ll find something from there that is more user-friendly than Github. I really appreciate the help! 😀 I’m going to stop kicking myself, I realized that the Pixabay URLs are wonky, because other images are staying.

---

<div class="post-metadata">

**Author:** ![Crinkly](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/crinkly/32/211289_2.png) [@Crinkly](https://forum.freecodecamp.org/u/Crinkly)\
**Post date:** [January 16, 2021, 7:33am UTC](https://forum.freecodecamp.org/t/adding-photos-to-website/437091/12 "2021-01-16T07:33:01Z")

</div>

I wanted to just say thank you again, jwilkins.oboe for forwarding me that info about Image hosting sites. I found just what I was looking for in there, it’s Imgur, and it’s perfect. It’s so user-friendly, I no longer feel stupid. I knew there had to be a simple solution, and you provided the info for me. Thank you a bazillion, gazillion, times!!! 😃

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [June 1, 2021, 6:36pm UTC](https://forum.freecodecamp.org/t/adding-photos-to-website/437091/13 "2021-06-01T18:36:06Z")

</div>

Closed on June 1, 2021, 6:36pm UTC


