jpeg and link problems

Reply

Join Date: Apr 2006
Posts: 138
Reputation: GriffIT34 is an unknown quantity at this point 
Solved Threads: 1
GriffIT34's Avatar
GriffIT34 GriffIT34 is offline Offline
Junior Poster

jpeg and link problems

 
0
  #1
Jun 7th, 2006
This is my first web page so be gentle.

the images and links work fine in a browser from the server.

but across network only one out of 5 jpg show. And none of the links work, the address bar points the links to my.address.com/the.link.com, obviously all the bar should say is the.link.com when opened.

Any help would be appreciated.
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 1,655
Reputation: tgreer is an unknown quantity at this point 
Solved Threads: 35
Team Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: jpeg and link problems

 
0
  #2
Jun 7th, 2006
Without seeing the site, it's hard to tell. It sounds like you have an issue with "paths". You can have an absolute path, or a relative path. In almost all cases, you should use a relative path for your "local" files, those images and files that are part of your site.

So, step 1: do some research on "relative paths" and see if you can resolve the problem. If not,

step 2: respond with either a link to your site, or a very small snippet of your code, something with one of the failing images or links in it.

Web development is a lot of fun, I think. Welcome to the site and to the world of web development.
Reply With Quote Quick reply to this message  
Join Date: Apr 2006
Posts: 138
Reputation: GriffIT34 is an unknown quantity at this point 
Solved Threads: 1
GriffIT34's Avatar
GriffIT34 GriffIT34 is offline Offline
Junior Poster

Re: jpeg and link problems

 
0
  #3
Jun 7th, 2006
Thanks for the help, and yes it is fun.

[html]
<img src="acerp.jpg" alt"A+" width="250" height="75" /> and a Network+ certification <img src="networkcerp.jpg" alt="Net+" width="250" height="75" />[/html]

The 1st image is seen cross networks, the second is only seen on local machine.

The links i fixed, I just happen to mispell on all of them, going too fast its a duh i know.
Last edited by tgreer; Jun 7th, 2006 at 3:01 pm.
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 1,655
Reputation: tgreer is an unknown quantity at this point 
Solved Threads: 35
Team Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: jpeg and link problems

 
0
  #4
Jun 7th, 2006
I see nothing wrong with that code. Both image tags are properly formed. As long as the images are truly located in the same folder as that page, you should see them.

You might check the permissions of each graphic, though I'm not sure what setting would prevent the graphic from being seen...

Is the site private, or can you give as a link to it?
Reply With Quote Quick reply to this message  
Join Date: Apr 2006
Posts: 138
Reputation: GriffIT34 is an unknown quantity at this point 
Solved Threads: 1
GriffIT34's Avatar
GriffIT34 GriffIT34 is offline Offline
Junior Poster

Re: jpeg and link problems

 
0
  #5
Jun 7th, 2006
I'm not sure it's not complete.

Server is at home, i'm at work. so i can't check the file permissions. I'd assume its in the folder cause it can be pulled up from the server itself.

This works for me, it should for you 69.115.95.150:8079. I'm still working on the Dynamic DNS through www.no-ip.com.

thanks again for the time.
Reply With Quote Quick reply to this message  
Join Date: Apr 2006
Posts: 138
Reputation: GriffIT34 is an unknown quantity at this point 
Solved Threads: 1
GriffIT34's Avatar
GriffIT34 GriffIT34 is offline Offline
Junior Poster

Re: jpeg and link problems

 
0
  #6
Jun 8th, 2006
I've narrowed it down to being a server problem, not a script problem.

The images show out of the file on a windows workstation, and IE.

My server runs linux and firefox. Last night I made some changes to the links and realized that the images don't show up on that computer. But they do on my windows laptop if I just read the files from a key.

So I'll investigate the server.
Reply With Quote Quick reply to this message  
Join Date: Apr 2006
Posts: 138
Reputation: GriffIT34 is an unknown quantity at this point 
Solved Threads: 1
GriffIT34's Avatar
GriffIT34 GriffIT34 is offline Offline
Junior Poster

Re: jpeg and link problems

 
0
  #7
Jun 9th, 2006
It was the case sensitivity. Not of the file names but the file extensions.

.jpg is different than .JPG

I suck
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 1,655
Reputation: tgreer is an unknown quantity at this point 
Solved Threads: 35
Team Colleague
tgreer tgreer is offline Offline
Made Her Cry

Re: jpeg and link problems

 
0
  #8
Jun 9th, 2006
A common mistake, trust me! Thank you for completing the thread, though. Mistakes are just as instructive as tutorials.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the HTML and CSS Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC