Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JPG Pics not Showing Correctly.

Status
Not open for further replies.

teblack

Programmer
Apr 30, 2004
45
I have a company website that has some thumbnail pics that reference a jpg file. I have one that will not display the jpg file. The new page displays with a red X. I have attempted to reload the image to the server but nothing seems to fix the problem. The 8513_CR is the pic that does not show.

Here is the code that I'm having problems with...

Code:
<table border="5" cellspacing="2" cellpadding="0">
	<tr>	
		<td valign="top">
			<a HREF="../images/8513_CR.jpg" TARGET="blank"><img src="../images/8513_CR.bmp" width="130" height="100" border="0" alt="Front Elevation"></a>
			<br>
	         </td>
	</tr>
	<tr>	
		<td valign="top">
			<a HREF="../images/8513_1.jpg" TARGET="blank"><img src="../images/8513_1.bmp" width="130" height="100" border="0" alt="First Floor Layout"></a>
			<br>
			<a HREF="../images/8513_2.jpg" TARGET="blank"><img src="../images/8513_2.bmp" width="130" height="100" border="0" alt="Second Floor Layout"></a>
		</td>
	</tr>
</table>

[\code]

Any suggestions as to what might be happening.

Thanks in advance for any help that you can give.



TBlack -
 
Tblack,

Right click on the red x and look at the properties. It will let you know the path that its looking for the picture at. If they dont match adjust your code.

Dan
 
Dan, I checked that, and the path is correct. It matches the others that are on that same page. Could this have anything to do with size of the picture?

I reaching I'm sure, but not sure where to go from here.

Thanks again for the help....



TBlack -
 
teblack,

The size dosent seem to be a problem as its relativly small.
Unless I've missed somthing the code looks good. The only other thing that it could be is the picture isnt in the directory where its supposed to be or its bad.

dan
 
Dan,

I can view the pic on my machine, and on the server where it resides. I think I will attempt to delete the pic from the server, rename it and reload it to see if that takes care of the problem.

Thanks again for the help.



TBlack -
 
Are you on a UNIX server where filenames are case sensitive? If so, is the actual picture name 8513_CR, or 8513_cr? Since it's the only one you have in your example with any letters in the name, I'd guess that's the problem.

Lee
 
Try to figure out how to make the pic display in a browser by just typing the URL of the pic file itself.

For example you can get the logo image for this page by pasting the following into your address bar:
 
I fix the problem by opening the picture in Paint and then re-saving it over the original. Then ftp'd the new version up to the server, and it is now displaying.

Thanks for everyones help with this.



TBlack -
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top