944,111 Members | Top Members by Rank

Ad:
Jun 7th, 2006
0

jpeg and link problems

Expand Post »
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.
Similar Threads
Reputation Points: 17
Solved Threads: 1
Junior Poster
GriffIT34 is offline Offline
138 posts
since Apr 2006
Jun 7th, 2006
0

Re: jpeg and link problems

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.
Team Colleague
Reputation Points: 227
Solved Threads: 37
Made Her Cry
tgreer is offline Offline
1,697 posts
since Dec 2004
Jun 7th, 2006
0

Re: jpeg and link problems

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.
Reputation Points: 17
Solved Threads: 1
Junior Poster
GriffIT34 is offline Offline
138 posts
since Apr 2006
Jun 7th, 2006
0

Re: jpeg and link problems

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?
Team Colleague
Reputation Points: 227
Solved Threads: 37
Made Her Cry
tgreer is offline Offline
1,697 posts
since Dec 2004
Jun 7th, 2006
0

Re: jpeg and link problems

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.
Reputation Points: 17
Solved Threads: 1
Junior Poster
GriffIT34 is offline Offline
138 posts
since Apr 2006
Jun 8th, 2006
0

Re: jpeg and link problems

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.
Reputation Points: 17
Solved Threads: 1
Junior Poster
GriffIT34 is offline Offline
138 posts
since Apr 2006
Jun 9th, 2006
0

Re: jpeg and link problems

It was the case sensitivity. Not of the file names but the file extensions.

.jpg is different than .JPG

I suck
Reputation Points: 17
Solved Threads: 1
Junior Poster
GriffIT34 is offline Offline
138 posts
since Apr 2006
Jun 9th, 2006
0

Re: jpeg and link problems

A common mistake, trust me! Thank you for completing the thread, though. Mistakes are just as instructive as tutorials.
Team Colleague
Reputation Points: 227
Solved Threads: 37
Made Her Cry
tgreer is offline Offline
1,697 posts
since Dec 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in HTML and CSS Forum Timeline: Forms border Highlight
Next Thread in HTML and CSS Forum Timeline: i need helpppp ;\





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC