Image shows on home page but not other pages
&lt;img src="sites/default/files/image-name" /&gt;



right now its appending after the url of whatever page you are on.

yourwebsite.com/hello/sites/default/files/image-name
yourwebsite.com/article/sites/default/files/image-name
yourwebsite.com/contact-us/sites/default/files/image-name


instead of appending after your domain name.

yourwebsite.com/sites/default/files/image-name


so you just need to add a / at the beginning, so it appends after your domain name only. 

so your code needs to be:

&lt;img src="/sites/default/files/image-name" /&gt;