Web Hosting Talk







View Full Version : What the...??? Image disapearing? Help!


LJ Host
05-11-2004, 08:30 PM
So check this out. I have a client that can't get an image to view on this page. The crazy thing is that the image src tag is totally gone!

Here is the demo page:
http://harper.ljnetworks.com/~lensembl/test.php



And here is the source that she sees!


<html>
<head>
<title>test</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<table width="270" border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td><table width="260" border="0" align="right" cellpadding="1" cellspacing="0">
<tr>
<td bgcolor="#000000"> <table width="100%" border="0" cellspacing="0" cellpadding="5">
<tr bgcolor="#666666">
<td><font color="#FFFFFF" size="3" face="Verdana, Arial, Helvetica, sans-serif"><strong><a name="John" id="John"></a>News
&amp; Notes</strong></font> <font color="#FFFFFF" size="1" face="Verdana, Arial, Helvetica, sans-serif">
by Lisette</font>
<div align="right"></div></td>
</tr>
<tr align="left" valign="top">
<td bgcolor="#CCCCCC"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
I got residency at Calvary. More text here. More text here. More text here. More text here. More text here. More text here. More text here. More text here. More text here. More text here. More text here. More text here. More text here. More text here. More text here. </font></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html>



What the heck is going on? I had here clear her cache in IE then even had her download firefox and try that with the same results. Do they share cache? It's isolated to here computer as I've tried it many other places. Any suggestions?

Informity
05-11-2004, 09:10 PM
what happens if you use just a plain .html file instead of a .php?

has she got any image filtering software installed (or is her traffic routed through any?)

LJ Host
05-12-2004, 01:51 AM
I haven't tried the html only yet but the thing is the image is not part of the php. Only the text. And furthermore she can see all the other images on the web.. just not this one. Doesn't matter where I put the code (on this test page or on the actual page) she still can't see this image. Isn't it odd that it is stripping the image tag?

lucidgreen
05-12-2004, 09:43 AM
Can you post the original code? I mean the code that SHOULD be appearing?

If the html is dynamically created, then you've got a php error, if the html is not dynamically created then your html is missing the img tag.

-lucidgreen

Logical J
05-12-2004, 10:18 AM
Here's the actual home page to be:

http://harper.ljnetworks.com/~lensembl/infobox.php

Again the only part of the page that is php is the text in the Box. And she can see all of the other images. Here is the original code of the box:

<table width="260" border="0" align="right" cellpadding="1" cellspacing="0">
<tr>
<td bgcolor="#000000"> <table width="100%" border="0" cellspacing="0" cellpadding="5">
<tr bgcolor="#666666">
<td><font color="#FFFFFF" size="3" face="Verdana, Arial, Helvetica, sans-serif"><strong><a name="John" id="John"></a>News
&amp; Notes</strong></font> <font color="#FFFFFF" size="1" face="Verdana, Arial, Helvetica, sans-serif">
by Lisette</font>
<div align="right"></div></td>
</tr>
<tr align="left" valign="top">
<td bgcolor="#CCCCCC"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><img src="Images/Home/lisettethumb.jpg" width="125" height="125" align="right">
<?
include("connections/conn.php");
mysql_select_db($database_conn, $conn);
$rs = mysql_query("select * from articles where id =1", $conn) or die(mysql_error());
$row = mysql_fetch_assoc($rs);
echo $row["content"];

?>
</font></td>
</tr>
</table></td>
</tr>
</table>

lucidgreen
05-12-2004, 11:27 AM
Yeah this is weird, I've tried it on two different computers and it works fine. Something is definatly screwy with her setup.

Just to see if it is a browser cache problem try giving the file a different name (one that you haven't used before) and having her load that file. If she can see the image in the new file it is a browser cache problem. If it is a cache problem then you may have to walk her through setting her browser settings and even manually deleting the contents of the temp folder.

If she still can't see the image try an absolute reference to the image instead of a relative path (I don't know why this should make a difference but it is worth a try).

Finally the only other thing I can think of is to take out the php code and try it as html only.

If nothing works then she may need to contact her isp becuase something is blocked somewhere.

Sorry that I don't have a better answer!