Try using imgur to host photos, and after you upload it, click the three dots in the corner and hit "get share links" and there will be a link with the coding and everything.
Another thing to try out is making sure the image link has .jpg, .png, or .gif after it. Hope this helps!