hello everyone, i have a new pc and it runs on windows 7, and i never had this problem with my other xp pc, everytime i create an html file with images (i have tried jpeg, gif and png so far) only png shows up and not jpg and gif, i need to solve this problem, i have tried to disable my security software and still nothing happned, this happens to both firefox and ie 8. is anyone experiencing the same problem? what could be causing this? have you found a solution? please help, i cant go on webdesigning without it :(

Expired or Illegal copy perhaps?!
"Sorry, the Windows 7 RC is no longer available for download. The general release version of Windows 7 will be available on October 22, 2009."

Expired or Illegal copy perhaps?!
"Sorry, the Windows 7 RC is no longer available for download. The general release version of Windows 7 will be available on October 22, 2009."

i have a genuine one...

Is the problem occurring only on sites you create or in any website. If it is only your creation then we need to see code...

this is my code

<HTML>
<HEAD>
<meta http-equiv=Content-Type content="text/html;  charset=ISO-8859-1">
<meta name="robots" content="noindex,nofollow">

<meta name="keywords" value="roms, rom, rom downloads, nes rom, nes roms">
<meta name="description" value="ROM downloads">
<style type="text/css">
<!--
body {
	background-color: #0080CF;
	margin-bottom: 0px;
	margin-top: 0px;
	}

a { text-decoration: none;
	color: white;
	font-family: verdana, arial, sans-serif;
	font-size: 10pt;
	font-weight: bold;
}

td { text-decoration: none;
	color: white;
	font-family: verdana, arial, sans-serif;
	font-size: 7pt;
	font-weight: bold;
}

a:hover { text-decoration: underline;}

.btmMenu { text-decoration: none;
	color: white;
	font-family: verdana, arial, sans-serif;
	font-size: 7pt;
}

.text {
	LEFT: 0px; VISIBILITY: visible; WIDTH: 300px; CLIP: rect(0px 650px 150px 0px); COLOR: rgb(0,0,0); POSITION: relative; TOP: 0; border-width: 1;
}

.clip {
	LEFT: 0px;
	WIDTH: 350px;
	CLIP: rect(0px 650px 150px 0px);
	POSITION: relative;
	TOP: 0px;
	HEIGHT: 150px;
	overflow: hidden;
}

#text0 { font-family: verdana, sans-serif;
	font-size: 11pt;
	}
-->
</style>



</HEAD>
<BODY bgcolor="#0080CF" marginwidth="0" marginheight="0" leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0">
<table width="750" cellspacing="0" cellpadding="0" border="0" align="center" bgcolor="#0080CF">
<tr>
<td colspan="2" style="background-image: url(../sun1.jpg)">

<table width="550" cellspacing="0" cellpadding="0" border="0">
<tr>
<td valign="top"><img src="http://romboy.oxyhost.com/spacer.gif" width="1" height="366" border="0"></td>
<td valign="top">
<DIV style="LEFT: 30px; POSITION: relative; TOP: 65px; visibility: visible;" id="buttonUp"><A 
onmouseover=javascript:scrollUp() onmouseout=stopScroll() 
href=#><IMG src="http://romboy.oxyhost.com/up.gif" width=13 
height=13 border=0></A> </DIV>
<DIV style="LEFT: 30px; POSITION: relative; TOP: 290px" id="buttonDown"><A 
onmouseover=javascript:scrollDown() onmouseout=stopScroll() 
href="#"><IMG src="http://romboy.oxyhost.com/down.gif" width=13 
height=13 border=0></A> </DIV>

</td>
<td><div style="left: 30px; position: relative; top: 5px; visibility: visible;" id="aboutlogo"><a href="http://romboy.co.cc" style="padding-left: 5px;"><img src="C:\Users\SonnyDajAlexa\Desktop\test\smiley.jpg" alt="ROMboy.co.cc" title="ROMboy.co.cc" border="0" width="350" height="45"></a></div>
<div 
id=clip 
style="LEFT: 50px; OVERFLOW: hidden; WIDTH: 450px; CLIP: rect(0px 600px 293px 0px); POSITION: relative; TOP: 0px; HEIGHT: 293px; z-index: 2;"> 

<div 
id=text0 
style="LEFT: 0; WIDTH: 600px; POSITION: relative; TOP: 0; z-index: 2;">




<br><br><u><b>test</b></u><br><br>





</div>

</div>
</td>

</tr>
</table>

</td>
</tr>
</table>



</BODY>
</HTML>

and its now working in ie8 after i enabled compatibility in browser, but still wont work in firefox, please help...

You have two instances of bold tag left in wrong places see code bellow.

<DIV style="LEFT: 30px; POSITION: relative; TOP: 65px; visibility: visible;" id="buttonUp"><A 
onmouseover=javascript<b></b>:scrollUp() onmouseout=stopScroll() 
href=#><IMG src="http://romboy.oxyhost.com/up.gif" width=13 
height=13 border=0></A> </DIV>
<DIV style="LEFT: 30px; POSITION: relative; TOP: 290px" id="buttonDown"><A 
onmouseover=javascript<b></b>:scrollDown() onmouseout=stopScroll() 
href="#"><IMG src="http://romboy.oxyhost.com/down.gif" width=13 
height=13 border=0></A> </DIV>

As for the JPGs I do not see problems there. Maybe you misspelled image name, file extension or made mistake with actual path. Also I see you are using absolute path to the documents like in this case

<img src="C:\Users\SonnyDajAlexa\Desktop\test\smiley.jpg" alt="ROMboy.co.cc" title="ROMboy.co.cc" border="0" width="350" height="45">

which would create absolute nightmare to sort out when you upload it on net. It is better to stick to relative path. So if image is same level as html document "name.jpg" is fine, if image level up then "../name.jpg" and for level down "level/name.jpg".

yea, i agree the <b> code should not be there,
but everything's ok as far as the path goes, because after i enabled the "compatibility mode" (something like that..) in ie8, it finally showed up the jpgs., but i primarily use firefox for viewing my html... i checked firefox settings and nothing works...

ok here's my code, i made it simple but still wont show the jpg

<HTML>
<HEAD>

</HEAD>


<BODY bgcolor="#0080CF" marginwidth="0" marginheight="0" leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0">

<img src="C:\Users\SonnyDajAlexa\Desktop\test\smiley.jpg" alt="test" border="0" >


</BODY>
</HTML>

<HTML> <HEAD> </HEAD> <BODY bgcolor="#0080CF" marginwidth="0" marginheight="0" leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0"> <img src="C:\Users\SonnyDajAlexa\Desktop\test\smiley.jpg" alt="test" border="0" > </BODY> </HTML>

the path is correct from my local drive..
i know my code is right , so what may be the cause of this?

does src="file:///c:\users\sonnydajalexa\desktop\test\smiley.jpg" work

does src="file:///c:\users\sonnydajalexa\desktop\test\smiley.jpg" work

its working now! the "file:\\\" solved it...
thanks almostbob!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.