| | |
jpeg and other image files not displaying in windows 7
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved |
•
•
Join Date: Aug 2009
Posts: 17
Reputation:
Solved Threads: 0
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.
-1
#4 Oct 17th, 2009
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...
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
•
•
Join Date: Aug 2009
Posts: 17
Reputation:
Solved Threads: 0
0
#5 Oct 18th, 2009
this is my code
and its now working in ie8 after i enabled compatibility in browser, but still wont work in firefox, please help...
HTML and CSS Syntax (Toggle Plain Text)
<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...
-1
#6 Oct 18th, 2009
You have two instances of bold tag left in wrong places see code bellow.
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
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".
<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>
HTML and CSS Syntax (Toggle Plain Text)
<img src="C:\Users\SonnyDajAlexa\Desktop\test\smiley.jpg" alt="ROMboy.co.cc" title="ROMboy.co.cc" border="0" width="350" height="45">
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
•
•
Join Date: Aug 2009
Posts: 17
Reputation:
Solved Threads: 0
0
#7 Oct 18th, 2009
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...
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.
•
•
Join Date: Aug 2009
Posts: 17
Reputation:
Solved Threads: 0
0
#8 Oct 18th, 2009
ok here's my code, i made it simple but still wont show the jpg
the path is correct from my local drive..
i know my code is right , so what may be the cause of this?
HTML and CSS Syntax (Toggle Plain Text)
<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?
0
#9 Oct 19th, 2009
does
src="file:///c:\users\sonnydajalexa\desktop\test\smiley.jpg" work Failure is not an option It's included free, you don't have to do anything to get it
If at first you dont succeed, join the club
Of course its always in the last place you look, you dont keep looking after you find it
Please mark solved problems, solved
If at first you dont succeed, join the club
Of course its always in the last place you look, you dont keep looking after you find it
Please mark solved problems, solved
![]() |
Similar Threads
- Unable to open JPG files on desktop with Windows Picture and Fax Viewer (Windows NT / 2000 / XP)
- Hide Files And Folders In A JPEG Image File (Windows tips 'n' tweaks)
- how to read a raw file of jpeg image using turbo c (C)
- How to read .bmp, .jpeg image in C language? (C)
- Cannot find server or DNS Error - please help! (Viruses, Spyware and other Nasties)
- How to load a JPEG image file, store it in array and then save it (Visual Basic 4 / 5 / 6)
- Code Snippet: JPEG Image Embedded in Python (Python)
- Open Image Files :: Autoclose :: HijackThis Log Included (Viruses, Spyware and other Nasties)
Other Threads in the HTML and CSS Forum
- Previous Thread: My site Cached with out www.
- Next Thread: Problem with an absolute div
| Thread Tools | Search this Thread |
appointments asp background backgroundcolor beta browser bug calendar cart cgi code codeinjection corporateidentity css design development displayimageinsteadofflash dreamweaver emailmarketing epilepsy explorer firefox flash form format google griefers hackers hitcounter hover html ide ie7 ie8 iframe image images internet internetexplorer intranet iphone javascript jpeg layout macbook maps marketshare microsoft mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization perl pnginie6 positioning problem scroll seo shopping studio swf swf. textcolor timecolor titletags url urlseparatedwords visual visualization web webdevelopment webform website windows7 xml xsl






