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? have you found a solution? what could be causing this? please help, i cant go on webdesigning without it
expertotech 0 Newbie Poster
Recommended Answers
Jump to PostHey.
How exactly are you adding these images to your HTML?
What are the file paths you are using?I can't imagine that this has much to do with the OS itself. More likely something like an extremely over-protective AntiVirus, broken browser plugins, or just a typo in …
Jump to PostWhen in IE8, have you tried enabling the Compatibility Mode (broken page icon next to the refresh button)? That may help.
Feran
Internet Explorer Outreach TeamIf that does fix the problem, there is almost definitely something wrong with your HTML.
Jump to Postyea, it solved the prob in ie8!!! but what about firefox? its still not showing up in firefox, (its being replaced by a broken page too, but i dont think firefox has compatibility feature mode) how do i fix this with firefox? and why is it only not showing jpg …
Jump to PostAhh ok.
In the past, you could have achieved this by doing
src="file:///C:/path/to/file.ext"
.
By default, browsers use the HTTP protocol to fetch files, and from their point of view, asking forsrc="C:/Users/..."
is the same as asking forsrc="http://example.com/C:/Users/..."
.
So you need to tell …
Jump to PostAs an afterthought...
The previous post was written assuming you were using a HTTP server, and using a URI like: http://localhost/file.htmlThe
file:///
paths should work fine if you open the HTML file directly from the hard-drive, like: file:///C:/webroot/file.html
The security risk I was talking about doesn't …
All 17 Replies
Atli 182 Posting Pro
feranm_ie8team 0 Newbie Poster
userr 0 Newbie Poster
Atli 182 Posting Pro
expertotech 0 Newbie Poster
Atli 182 Posting Pro
expertotech 0 Newbie Poster
Atli 182 Posting Pro
Atli 182 Posting Pro
cohen 17 Practically a Posting Shark Featured Poster
feranm_ie8team 0 Newbie Poster
expertotech 0 Newbie Poster
expertotech 0 Newbie Poster
expertotech 0 Newbie Poster
feranm_ie8team 0 Newbie Poster
Atli 182 Posting Pro
expertotech 0 Newbie Poster
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.