English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I've created a gallery html page which works fine on most browsers. But on certain browsers the code for some images gets stripped out. I can see this when I open the View Source option. There's no particular type of browser it doesn't work on.
I've tried re-doing the images, doing them as gifs, re-writing the code but I still have the same problem. And I'm not just seeing empty squares with missing images- there is nothing at all on the page once it's loaded onto a browser.
thx for any help
baz

2006-06-08 08:05:14 · 4 answers · asked by baz666 2 in Computers & Internet Programming & Design

4 answers

I don't have the URL of the pages you're talking about, so I can't be certain of the solution, but there is a mistake that many newbies make that may be causing the problem:

The issues: 1) The path to your images, and 2) case-sensitivity of the file names.

Browsers don't strip code. They don't alter your code. They simply render your code. However, some browsers are more lenient than others in terms of rendering faulty code.

It is possible that your code is in capital and lowercase letters, but when you put the images on the server, your FTP program converted all the files to lowercase. Check this out.

it is also possible that the path to your images is not correct. Put all your images in a directory called "images". Your path should then likely read "../images/imagename.jpg". If you see c://.... your files are pointing to your own personal hard drive and not the server. If you see "/images/imagenaem.jpg", the path is to the top of the server directory structure.... and there may not be an images directory there.

So, take a look at these two possible issues, and you might solve your problem. If not, post the URL and we can trouble shoot with you.

Good luck.

2006-06-10 18:04:53 · answer #1 · answered by ★ Estelle ★ 6 · 1 0

while using SHTML, or Hypertext Preprocessor, or Coldfusion, or many different languages - you need to use what's called an "contain". Which does precisely what you choose, contain a single record on distinctive pages so as which you basically would desire to edit code in one place. in spite of the undeniable fact that, and im extra effective than prepared to be corrected in this, i do no longer think of there is any thank you to apply contains in bathroom-usual HTML. Edit: or use templates like pete says - stupid me!

2016-09-28 04:57:47 · answer #2 · answered by ? 4 · 0 0

You have neither listed the browsers you are concerned about nor posted the URL of the page that is giving trouble, so I don't see how we can be of any help here.

2006-06-08 17:42:02 · answer #3 · answered by Ron 6 · 0 0

Whats the URL?... be easier to see if anybody else has the same problem

2006-06-08 08:28:22 · answer #4 · answered by gp 3 · 0 0

fedest.com, questions and answers