1

So, I'm making a website in wordpress for the first time, and I'm using an FTP connection to the server and so on. I'm editing in the theme I'm using, and making a homepage. But I've ran into the problem, that whenever I type <img src="http://i.imgur.com/C8Ws3dO.jpg"/> It works just fine, but when I try adding the directory or whatever, it gets mad and shows a little image icon instead <img src="hp-image.jpg"/>

2
  • Oh, just to make sure noone says "You sure you got the right directory?". Yes. puu.sh/upBLa/18626797af.png Commented Mar 1, 2017 at 19:10
  • Files in your theme's folder are not in the root of the site. So yeah, it is a path problem Commented Mar 1, 2017 at 19:26

1 Answer 1

1

Try using the FULL directory path name.

<img src="http://example.com/wp-content/themes/themename/hp-image.jpg"/>
Sign up to request clarification or add additional context in comments.

2 Comments

Taaaanks <3 Also dont judge me im an idiot i know XD
No problem! It's alright I been through the same situation lol

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.