View Full Version : Need help from smart people.
boombatower
08-10-2004, 06:11 PM
I have been working on a site and just now have tried viewing it in IE and one of the images does not come in when viewing in IE. When I look at it in any other browser it looks fine. Is this another one of Microsoft's problems or what?
I even downloaded the newest version on IE and it still does not show up. I have tries saving it in multiple formats, and still it does not show up. This is very frustrating.
Does anyone have any help they can give?
webado
08-10-2004, 06:23 PM
The file extension may not correspond to the image type. Perhaps you can fool other browsers, but not IE.
If you take a gif file and simply rename it with the extension jpg this won't make it a jpg type of file. At times, when you use Save as you may make the mistake and save it with the wrong extension.
However you should give provide the concrete example if you expect any of the smart people to help.
boombatower
08-10-2004, 08:42 PM
That is not the problem because I use an Advanced Image Editor the GIMP to creat my images. I save them as its native format, and the export them (re-save) as a new format. I resaved the image as a jpg not just renamed it.
Also I have other images on the page done the same way and they show up and look great.
So that is not the problem, but thanks for repling. This is very frustrating.
operator
08-10-2004, 11:30 PM
are both width and height image dimensions in the img src tag. i was working on a page earlier today, and one image of many on the page would not show up because i included the height and not the width.
it is kinda strange, as i find IE to be more intuitive than most other browsers.
also, ensure that the folder the images are in is included in the code.
Ex: img src="images/filename.jpg"
it may also have to do with your layout. you could double check your table tags to make sure they work out right.
webmoriar
08-11-2004, 12:56 AM
Also a link to the page this is occuring on would help out.
boombatower
08-11-2004, 02:40 AM
I will give you the next best thing the code for the entire page this is orcuring on. Thanks for help.
<html>
<head>
<title>.: [Commented out for securinty reasons] :.</title>
<link href="body.css" type="text/css" rel="Stylesheet">
<meta name="keywords" value="Murals, Paintings, Art, Artisan, Photo Galleries, Gallery">
<meta name="description" value="Photos of past murals, and requests for new ones, Murals home">
</head>
<script type="text/javascript">
function Go(){return}
</script>
<script type="text/javascript" src='menu_var.js'></script>
<script type="text/javascript" src='menu.js'></script>
<script type="text/javascript" src='basic.js'></script>
<noscript>Your browser does not support script</noscript>
<body>
<table id=mainTable cellspacing="0">
<tr>
<td id=logo>graphics/logo.pnghttp://www.liquidmurals.com/graphics/fade.png</td>
</tr>
<tr>
<td id=menu><div id='MenuPos' style='position:relative'></div></td>
</tr>
<tr>
<td id=main>
<div id=content></div>
To view this site at its best please view it using Netscape (http://channels.netscape.com/ns/browsers/default.jsp) or Mozilla (http://www.mozilla.org/products/mozilla1.x/).
</td>
</tr>
<tr>
<td id=copyblock>Home (index.html) | More Information (moreInfo.html) | Contact Info (contactInfo.html) | Technical Support (mailto: [Commented out for securinty reasons])
<span id=credits>Copyright © 2004 Megan Mitchell. All rights reserved.
Site created by Boombatower Designs (JavaScript:creditWin();)</span></td>
</tr>
</table>
<script language="JavaScript">
setTimeout("checkForCookie()", 200);
function checkForCookie()
{
if (document.cookie)
{
var FirstName = unescape(document.cookie);
var tagIt = FirstName.indexOf("*");
FirstName = FirstName.substring(9, tagIt);
var lengthOfFirst = FirstName.length;
var LastName = unescape(document.cookie);
var tagIt2 = LastName.indexOf("8");
var when = 10+lengthOfFirst;
var LastName = LastName.substring(when);
var placement = document.getElementById("content");
placement.innerHTML = "graphics/aniLogo.gif";
placement.innerHTML += "
Welcome back " + FirstName + " " + LastName + "";
}
else
{
var placement = document.getElementById("content");
placement.innerHTML = "graphics/aniLogo.gif";
//makeCookie();
}
}
function makeCookie()
{
//Variables to take information for cookie
var fname;
var lname;
//Means of getting information
fname = prompt("Please enter your first name.","");
lname = prompt("Please enter your last name.","");
if (fname != null && lname != null, fname != "" && lname != "")
{
//Create cookie
var remainTill = new Date();
remainTill.setFullYear(remainTill.getFullYear() + 1);
document.cookie= "NameInfo=" + fname + "*" + lname + "; expires=" + remainTill.toGMTString() + ";";
}
else
{
if (fname == "", fname == null)
{
fname = prompt("Please enter your first name.(Only for our records)","");
}
if (lname == "", lname == null)
{
lname = prompt("Please enter your last name.(Only for our records)","");
}
if (fname != null && lname != null, fname != "" && lname != "")
{
//Create cookie
document.cookie="NameInfo=" + fname + "*" + lname;
}
}
}
</script>
<!-- <script type="text/javascript" language="javascript">
var sc_project=359218;
var sc_partition=1;
var sc_invisible=1;
</script>
<script type="text/javascript" language="javascript" src="http://www.statcounter.com/counter/counter.js"></script><noscript>http://c2.statcounter.com/counter.php?sc_project=359218&java=0&invisible=1 (http://www.statcounter.com/free_hit_counter.html) </noscript>
-->
</body>
</html>
webado
08-11-2004, 03:21 AM
You're not seriously thinking anybody will actually test this code of yours? With all the cookies it creates?
Your problem concerns a jpg file according to your post. I don't even see one in your code.
boombatower
08-11-2004, 04:41 PM
Their is a PNG image that it is trying to load. My client does not want everyone looking at this site if you don't like the cookie code DELETE it I mean BIG DEAL.
webmoriar
08-11-2004, 05:37 PM
The problem is with just the code I don't have access to the images since the links are relative. Could you just host this edited code on a different server or get the images to me?
boombatower
08-11-2004, 09:09 PM
I hosted the front page on another server. The URL address is: http://i3.domaindlx.com/wwwsitecreation/liquidmurals/index.html.
Note this is not the complete site, and their is no menu as there is on the final version.
Remember: the picture is only missing in IE.
boombatower
08-11-2004, 10:02 PM
I got some profetional help from someone who works with my mom. So I got it to work and don't need your help.
Thank you for you time.
webmoriar
08-11-2004, 10:03 PM
Running IE 6.0.2800.1106.xpsp2.030422-1633 here. I clicked that link and had no broken images. The png top-left logo showed up as did the gif animated logo in the center.
boombatower
08-11-2004, 10:04 PM
Yes because I fixed it.
Thank you though.
webmoriar
08-11-2004, 10:05 PM
lol np. what was the fix?
boombatower
08-11-2004, 10:08 PM
Turned out the program I used to make the image, did not change the image to indexed, when it should have since that file format cannot hanndel RBG format image only Indexed.
LOL :D
webmoriar
08-11-2004, 10:14 PM
Turned out the program I used to make the image, did not change the image to indexed, when it should have since that file format cannot hanndel RBG format image only Indexed.
LOL :D
live and learn which programs are good for what I guess :)
boombatower
08-11-2004, 11:11 PM
Yes lol :D
operator
08-12-2004, 02:22 AM
nice site btw.
vBulletin® v3.6.8, Copyright ©2000-2008, Jelsoft Enterprises Ltd.