| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 64975 | 2006-01-03 14:15:00 | transparent gifs won't display | perfeser (9533) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 417700 | 2006-01-03 14:15:00 | Two transparent gifs fail to display on a web page I am building. What appears instead, is the indication that a graphic is missing a red X in a tiny box. Several other gifs, not transparent, on the same page, do display. These same transparent gifs can be attached to an e-mail message, and then selecting the attachment in the e-mail displays the gif. Inserting the images in a Microsoft Word document also works. I have checked carefully the html coding and the filenames of the subject gifs. The html coding I use to call up the images on web pages is: <img src="whatever.gif"> I have not forgotten the quotation marks. I have checked and rechecked my work. I have copied it to another folder. I have tried changing the file names and the corresponding coding. I have tried using upper case file names, contrary to my habit. I tried assigning a size, thus: <img src="whatever.gif" width="100" > I have tried adding a blank alt specification. This is something I do to make pages validate, when there is no meaningful alpha substitute for the graphic: <img src="whatever.gif width="100" alt=""> I have tried adding a real alt specification: <img src="whatever.gif width="100" alt="whatever"> That causes the whatever to appear on the page next to the red X. I have tried the blank alt without the size specification: <img src="whatever.gif alt=""> I have tried the alt specification without the size specification: <img src="whatever.gif alt="whatever"> That expanded the tiny box enough to put the whatever next to the red X The page has a graphic background: <BODY BACKGROUND="3.gif" BGCOLOR="#DDDDDD" text="#000000" LINK="#FFFF00" VLINK="#FFFF00" ALINK="#FFFF00"> Copying the page file and the graphics other than 3.gif to another folder produces the page without the background, and that doesnt cure the problem. I have tried getting a nights sleep, and starting over. I am not new at this. I am stumped. |
perfeser (9533) | ||
| 417701 | 2006-01-03 19:28:00 | How about checking that you're correctly specifying the source location of the gif, eg: <img src="images/whatever.gif" width="1" height="1" /> |
Greg (193) | ||
| 417702 | 2006-01-03 20:50:00 | How about checking that you're correctly specifying the source location of the gif, eg: <img src="images/whatever.gif" width="1" height="1" /> Thanks, Greg, but that's not it. the html file and all the gifs - both those displaying and those not displaying are in a single folder. |
perfeser (9533) | ||
| 417703 | 2006-01-03 21:03:00 | If a red "X" appears it means one of two things: * the GIF is missing * the GIF is bad * the GIF's permission doesn't permit it to be read by the Internet server's service account. You should be able to type in the address directly and check these possibilities. If you web site is "www.foobar.co.nz and your image source is "<img src="images/whatever.gif" ... />", then try this address: www.foobar.co.nz (JUST AN EXAMPLE, DON'T CLICK) If you have direct access to the Internet server, any permission errors should show up in the logs. |
kingdragonfly (309) | ||
| 417704 | 2006-01-03 21:34:00 | If a red "X" appears it means one of two things: * the GIF is missing * the GIF is bad * the GIF's permission doesn't permit it to be read by the Internet server's service account. You should be able to type in the address directly and check these possibilities. If you web site is "www.foobar.co.nz and your image source is "<img src="images/whatever.gif" ... />", then try this address: www.foobar.co.nz (JUST AN EXAMPLE, DON'T CLICK) If you have direct access to the Internet server, any permission errors should show up in the logs. Thank you, kingdragonfly, for your suggestions. The gifs are not missing or bad. I was able to attach them to an e-mail and open them from there. I was able to insert them in a Microsoft Word document, and they displayed there. I dont understand how there could be a permission issue. The files are in a folder on my hard disk. Incidentally, the page is already on the web. I am trying to modify it with the addition of these two gifs. I tried uploading the page revision and the new gifs to the website. The other gifs still displayed and the two new ones still didnt. I dont have logging enabled, but I dont see how there could be any help there. |
perfeser (9533) | ||
| 417705 | 2006-01-03 21:51:00 | I'm guessing you're running as "localhost". When I say missing or bad, I mean from the Internet server's perspective. Did you try my tip about typing in the image address directly? localhost (JUST AN EXAMPLE, DON'T CLICK) |
kingdragonfly (309) | ||
| 417706 | 2006-01-03 21:58:00 | Incidentally, the page is already on the web. Perhaps you can give us the url so we can look? | Greg (193) | ||
| 417707 | 2006-01-03 22:01:00 | Upload them to imagef1.net.nz | Rob99 (151) | ||
| 417708 | 2006-01-03 22:07:00 | Just clicked through a few of your websites, I didnt see any animated giffs not working. Maybe its your browser or other program thats disabling them for you. |
Rob99 (151) | ||
| 417709 | 2006-01-03 22:49:00 | I'm guessing you're running as "localhost". When I say missing or bad, I mean from the Internet server's perspective. Did you try my tip about typing in the image address directly? localhost (JUST AN EXAMPLE, DON'T CLICK) The page and the gifs are in a single folder. The various gifs are called in the html by just the file names. Is there any point in typing in the whole path for these two gifs? Even if that worked on my disk, I twould have to be a different path - one that looks like your sample - in the uploaded page. |
perfeser (9533) | ||
| 1 2 | |||||