944,010 Members | Top Members by Rank

Ad:
Oct 16th, 2009
0

jpeg and other image files not displaying in windows 7

Expand Post »
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
Last edited by expertotech; Oct 16th, 2009 at 11:16 am.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
expertotech is offline Offline
17 posts
since Aug 2009
Oct 16th, 2009
0
Re: jpeg and other image files not displaying in windows 7
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."
Reputation Points: 120
Solved Threads: 61
Posting Pro
Troy III is offline Offline
511 posts
since Jun 2008
Oct 16th, 2009
0
Re: jpeg and other image files not displaying in windows 7
Click to Expand / Collapse  Quote originally posted by Troy III ...
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...
Reputation Points: 10
Solved Threads: 0
Newbie Poster
expertotech is offline Offline
17 posts
since Aug 2009
Oct 17th, 2009
-1
Re: jpeg and other image files not displaying in windows 7
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...
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 874
Code tags enforcer
peter_budo is offline Offline
6,658 posts
since Dec 2004
Oct 18th, 2009
0
Re: jpeg and other image files not displaying in windows 7
this is my code

HTML and CSS Syntax (Toggle Plain Text)
  1. <HTML>
  2. <HEAD>
  3. <meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
  4. <meta name="robots" content="noindex,nofollow">
  5.  
  6. <meta name="keywords" value="roms, rom, rom downloads, nes rom, nes roms">
  7. <meta name="description" value="ROM downloads">
  8. <style type="text/css">
  9. <!--
  10. body {
  11. background-color: #0080CF;
  12. margin-bottom: 0px;
  13. margin-top: 0px;
  14. }
  15.  
  16. a { text-decoration: none;
  17. color: white;
  18. font-family: verdana, arial, sans-serif;
  19. font-size: 10pt;
  20. font-weight: bold;
  21. }
  22.  
  23. td { text-decoration: none;
  24. color: white;
  25. font-family: verdana, arial, sans-serif;
  26. font-size: 7pt;
  27. font-weight: bold;
  28. }
  29.  
  30. a:hover { text-decoration: underline;}
  31.  
  32. .btmMenu { text-decoration: none;
  33. color: white;
  34. font-family: verdana, arial, sans-serif;
  35. font-size: 7pt;
  36. }
  37.  
  38. .text {
  39. LEFT: 0px; VISIBILITY: visible; WIDTH: 300px; CLIP: rect(0px 650px 150px 0px); COLOR: rgb(0,0,0); POSITION: relative; TOP: 0; border-width: 1;
  40. }
  41.  
  42. .clip {
  43. LEFT: 0px;
  44. WIDTH: 350px;
  45. CLIP: rect(0px 650px 150px 0px);
  46. POSITION: relative;
  47. TOP: 0px;
  48. HEIGHT: 150px;
  49. overflow: hidden;
  50. }
  51.  
  52. #text0 { font-family: verdana, sans-serif;
  53. font-size: 11pt;
  54. }
  55. -->
  56. </style>
  57.  
  58.  
  59.  
  60. </HEAD>
  61. <BODY bgcolor="#0080CF" marginwidth="0" marginheight="0" leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0">
  62. <table width="750" cellspacing="0" cellpadding="0" border="0" align="center" bgcolor="#0080CF">
  63. <tr>
  64. <td colspan="2" style="background-image: url(../sun1.jpg)">
  65.  
  66. <table width="550" cellspacing="0" cellpadding="0" border="0">
  67. <tr>
  68. <td valign="top"><img src="http://romboy.oxyhost.com/spacer.gif" width="1" height="366" border="0"></td>
  69. <td valign="top">
  70. <DIV style="LEFT: 30px; POSITION: relative; TOP: 65px; visibility: visible;" id="buttonUp"><A
  71. onmouseover=javascript:scrollUp() onmouseout=stopScroll()
  72. href=#><IMG src="http://romboy.oxyhost.com/up.gif" width=13
  73. height=13 border=0></A> </DIV>
  74. <DIV style="LEFT: 30px; POSITION: relative; TOP: 290px" id="buttonDown"><A
  75. onmouseover=javascript:scrollDown() onmouseout=stopScroll()
  76. href="#"><IMG src="http://romboy.oxyhost.com/down.gif" width=13
  77. height=13 border=0></A> </DIV>
  78.  
  79. </td>
  80. <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>
  81. <div
  82. id=clip
  83. style="LEFT: 50px; OVERFLOW: hidden; WIDTH: 450px; CLIP: rect(0px 600px 293px 0px); POSITION: relative; TOP: 0px; HEIGHT: 293px; z-index: 2;">
  84.  
  85. <div
  86. id=text0
  87. style="LEFT: 0; WIDTH: 600px; POSITION: relative; TOP: 0; z-index: 2;">
  88.  
  89.  
  90.  
  91.  
  92. <br><br><u><b>test</b></u><br><br>
  93.  
  94.  
  95.  
  96.  
  97.  
  98. </div>
  99.  
  100. </div>
  101. </td>
  102.  
  103. </tr>
  104. </table>
  105.  
  106. </td>
  107. </tr>
  108. </table>
  109.  
  110.  
  111.  
  112. </BODY>
  113. </HTML>

and its now working in ie8 after i enabled compatibility in browser, but still wont work in firefox, please help...
Reputation Points: 10
Solved Threads: 0
Newbie Poster
expertotech is offline Offline
17 posts
since Aug 2009
Oct 18th, 2009
-1
Re: jpeg and other image files not displaying in windows 7
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
HTML and CSS Syntax (Toggle Plain Text)
  1. <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".
Moderator
Featured Poster
Reputation Points: 2786
Solved Threads: 874
Code tags enforcer
peter_budo is offline Offline
6,658 posts
since Dec 2004
Oct 18th, 2009
0
Re: jpeg and other image files not displaying in windows 7
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...
Last edited by expertotech; Oct 18th, 2009 at 9:10 pm.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
expertotech is offline Offline
17 posts
since Aug 2009
Oct 18th, 2009
0
Re: jpeg and other image files not displaying in windows 7
ok here's my code, i made it simple but still wont show the jpg


HTML and CSS Syntax (Toggle Plain Text)
  1.  
  2. <HTML>
  3. <HEAD>
  4.  
  5. </HEAD>
  6.  
  7.  
  8. <BODY bgcolor="#0080CF" marginwidth="0" marginheight="0" leftmargin="0" rightmargin="0" topmargin="0" bottommargin="0">
  9.  
  10. <img src="C:\Users\SonnyDajAlexa\Desktop\test\smiley.jpg" alt="test" border="0" >
  11.  
  12.  
  13. </BODY>
  14. </HTML>
  15.  
  16. <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?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
expertotech is offline Offline
17 posts
since Aug 2009
Oct 19th, 2009
0
Re: jpeg and other image files not displaying in windows 7
does src="file:///c:\users\sonnydajalexa\desktop\test\smiley.jpg" work
Reputation Points: 562
Solved Threads: 368
Posting Maven
almostbob is offline Offline
2,970 posts
since Jan 2009
Oct 26th, 2009
0
Re: jpeg and other image files not displaying in windows 7
Click to Expand / Collapse  Quote originally posted by almostbob ...
does src="file:///c:\users\sonnydajalexa\desktop\test\smiley.jpg" work

its working now! the "file:\\\" solved it...
thanks almostbob!
Reputation Points: 10
Solved Threads: 0
Newbie Poster
expertotech is offline Offline
17 posts
since Aug 2009

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in HTML and CSS Forum Timeline: My site Cached with out www.
Next Thread in HTML and CSS Forum Timeline: Problem with an absolute div





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC