Click here to Skip to main content
15,868,016 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hello - I am an extreme beginner and have been trying to code my own website. Everything works fine when I open the html file locally, but after uploading it using godaddy Cpanel, many of the images don't seem to be linking and I cannot figure out why.


the site can be found at www.connor.today

thanks in advance!

What I have tried:

proofreading the code to make sure the images are properly linked/ changing letter case of filenames, etc
Posted
Updated 17-Aug-16 16:56pm
Comments
ZurdoDev 17-Aug-16 15:26pm    
It's very simple. The link to your images are incorrect. They point to a file on the server so just make them work like the ones that do work.
Member 12690445 17-Aug-16 15:32pm    
i understand but I don't know how they are broken, every link is formatted the same way and i'm certain all the images are there.
ZurdoDev 17-Aug-16 15:37pm    
oe26.jpg should be in the same folder as Sweatshop_Main.jpg, for example. Looks like they are in the root of your site.

It's a good idea to organize things and create a folder for images, but as of now, it looks like you have everything in the root folder.
Member 12690445 17-Aug-16 16:47pm    
thanks for your replies. so you're saying that the images should be organized in a separate folder - not necessarily multiple folders for each page but one large image folder? wouldn't them being all in root folder serve the same purpose?

edit: turns out the main culprit was differences in capitals/lowercase for the links. going back now and fixing. thanks again for your help!
ZurdoDev 17-Aug-16 19:29pm    
A folder helps organize, that's all. The server and your code won't care one bit. Glad to see you got it working.

1 solution

As mentioned in comments, you have to make sure the link is correct. As you found out, your server appears to be case sensitive in the links.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900