Question

Why won't my local webpage show images in IE8?

Asked by: najh

I've got internet explorer 8 and when i've created a quick html page with a few images in, the images won't load! What's going on? They work in FF, and they work when uploaded to a webserver.  I've been making webpages for years and years, so I'm confident the html is ok.  I've googled around a lot and noticed a few image display problems, but i still don't have a solution i can use.  Any ideas anyone?  The local html file is just in a my documents folder - not on an intranet server or the like.

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-11-22 at 07:38:47ID24921562
Tags

IE8

,

HTML

Topics

Internet Explorer Web Browser

,

Hypertext Markup Language (HTML)

,

Web Images

Participating Experts
4
Points
0
Comments
16

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Inserting a MSAccess form into a Intranet Webpage
    Hi all, I have a MS Access form which has 3 combo boxes on it. These combo boxes are there to get a combination of account name, report type and date; and then according to the chosen combination a particular report opens on clicking on a 'display report' button. These repor...
  2. Uploading my webpage on a local intranet.
    I have tried to upload my webpage to a local intranet. I need emplyoee in my office to able to view my webpage but i am useing an access database as well as a coldfusion and dreamweaver. When i upload it to our main server it displays as a web page but the coldfusion code sho...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: akahanPosted on 2009-11-22 at 08:13:08ID: 25882402

Check the settings in Tools/Internet Options/Security.  Are you sure IE is seeing your page as being on your intranet, and applying low level security, so that the pictures get displayed?

 

by: Roads_RoadsPosted on 2009-11-22 at 11:03:29ID: 25883034

check the advanced tab in "internet options" properties
there is a multimedia entity - and "show images"
check it if it is unchecked.

 

by: jcimarronPosted on 2009-11-22 at 12:59:48ID: 25883617


najh--The standard for coding IE8 pages has changed considerably.
See http://www.eggheadcafe.com/software/aspnet/35166440/ie-8-html-parsing-issues.aspx  (especially the reference to w3.org validation.)
But IE8 has a bug.  http://www.microsoft.com/downloads/details.aspx?familyid=B885E621-91B7-432D-8175-A745B87D2588&displaylang=en
Run IE8 in Compatibility View.

 

by: najhPosted on 2009-11-23 at 05:54:22ID: 25887493

akahan - I am sure that IE is not seeing the page as being on my intranet, because it is not on my intranet.  It's a local file.  It's in a directory within my documents.

Roads_Roads, the images work in IE8 when it's all uploaded to a web server, just not when held locally.

jcimarron - i'll look at that further - i am really surprised if it is a parsing issue - the html is really really simple stuff - no css or anything.  Why would it parse the file differently just because it's held locally?  I'm really confused.

<HTML><HEAD><TITLE>test title</TITLE></HEAD>
<body>
<IMG src="logo.png" alt="logo"/>
<p>bea 1...</p>
<img src="images/bea1.jpg" />
<p>bea 2...</p>
<img src="images/bea2.jpg" />
<p>bea 3...</p>
<img src="images/bea3.jpg" />
</body>
</html>

                                              
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:

Select allOpen in new window

 

by: Roads_RoadsPosted on 2009-11-23 at 06:05:43ID: 25887562

is the path correct ? you need to have images under "images" from where you run html page

 

by: najhPosted on 2009-11-23 at 06:08:30ID: 25887582

Yep.  If the path wasn't correct it wouldn't work in FireFox, or Safari, or Chrome.

 

by: Roads_RoadsPosted on 2009-11-23 at 06:13:32ID: 25887622

is the file extension jpg or JPG (uppercase) ?

 

by: najhPosted on 2009-11-23 at 06:30:36ID: 25887750

The first image is a png, the other three are jpg.  All the files and folders are completely lowercase.

I'm suspecting it's either a bug in IE8 or perhaps my security software.  I've seen the odd occurance of it when I google the problem, but no solution which seems to apply.

I've also tried the same folder of files on another computer with IE8 (same version of IE8).

I've tried all the obvious things (like checking file paths etc.) so I'm absolutely convinced the code etc. is fine.  Admittedly I've not written any special code for IE8, but I expected the existing things I'd written to work.  I've even taken sites that used to work when I had IE7 and looked at them locally and the images still don't work on IE8 either.  It's very strange.  I shall have another go when I'm at home this evening, and try looking at the security software and see if that's interfereing with the images somehow.  (seems unlikely to me, but i feel like i've ruled everything else out, and presumably the security software can affect image rendering - i mean it puts little green ticks / red crosses in my google results, so it must have some influence...)


 

by: jcimarronPosted on 2009-11-23 at 09:49:34ID: 25889752

najh--
I suspect the problem is trying to use pages coded for IE7 in IE8.  Maybe I misunderstand, but I it seems the pages in question do not reproduce correctly using IE8 in any zone--not just locally.
You wrote "Admittedly I've not written any special code for IE8, but I expected the existing things I'd written to work.  I've even taken sites that used to work when I had IE7 and looked at them locally and the images still don't work on IE8 either."

And I wrote "The standard for coding IE8 pages has changed considerably.
See http://www.eggheadcafe.com/software/aspnet/35166440/ie-8-html-parsing-issues.aspx  (especially the reference to w3.org validation.)"

 

by: najhPosted on 2009-11-23 at 11:57:13ID: 25890994

Hi jcimarron - thanks for your suggestion. Unfortunately you do misunderstand.  The pages in question do reproduce perfectly correctly if they're not held locally. If I access the very same page after uploading it, it works fine in IE8.  And that's the problem I'm having.  If they consistenly didn't work and I was doing something that IE8 couldn't parse, then that would make sense to me, but that's not the case.  IE8 can understand it perfectly - it just won't show the images when the images are held locally.  I've also just discovered that if I put a URL for the image src then it will load that image, even though the html file is held locally, so it seems to dislike the images themselves being held locally.

IE8 works 100% fine on all the pages I've written, except if I have them locally on my computer.

I did make an error in my previous post though - where i said, "I've also tried the same folder of files on another computer with IE8 (same version of IE8)." I should have added, ", and it works fine there!"  I must have been distracted while writing that!  So yes, it's quite odd - I can't seem to write any web pages and have them saved locally and then look at them through IE8.  And that's even if i press F12 and change the browser mode to IE7.  If I could change a setting to make the pages display properly I'd be happy with that even, but no - nothing works!  Still baffled.

I'm now suspecting there's something odd about the image files I've been using...

 

by: najhPosted on 2009-11-23 at 12:25:51ID: 25891223

The story has now become a bit more convoluted.  I just tried downloading the images from the website again.  Here's what I did (if anyone's interested)...

First I downloaded one image from the website using IE8 and saved it into the same local directory with a new name.  I then used that image to create another new local web page.  Image didn't show up on IE8.

Then I did the same again using FireFox - I downloaded the same image from the website using firefox and saved it into the same local directory, with another new name.  And then i used that image in a new locally held web page.  And this image IS visible in IE8.  

So suddenly I've broken the "curse" on that image which stops it being displayed on this computer... but I don't know how or why!!  So now I have two image files - one which will display in ie8 and one which won't.  When I do an MD5 sum on the two files, they appear to be identical.  When i go into the file properties it seems like windows thinks there's a difference between them though. (see attached propertied)  bea5.jpg loads fine, bea4.jpg doesn't. (but only when held locally of course)

 

by: jcimarronPosted on 2009-11-23 at 15:11:35ID: 25892538

najh--I have read what you posted and things reported are a little weird.  When you downloaded in IE8 were you using Compatibility View?  Did you have add-ons turned on or off (for the latter Start|All Programs|Accessories|System Tools|Internet Explorer (no Add-ons) )?  Did you uninstall any third party toolbar?
Probably this won't help, but you may still be interested
http://www.vistaheads.com/forums/microsoft-public-internetexplorer-general/364055-html-worked-ie7-broken-ie8.html

 

by: najhPosted on 2009-11-23 at 15:13:30ID: 25892551

I've discovered that if I put the Mark of the Web ( http://msdn.microsoft.com/en-us/library/ms537628(VS.85).aspx ) into the top of the page, the images appear, and if I take it out again, they disappear.  So I guess that's a solution.  Although I still don't understand why this affects images when there are no scripts in the page - anyone got any ideas?

 

by: jcimarronPosted on 2009-11-24 at 15:17:16ID: 25902477

najh--Very interesting.  Good for you for finding this.  
Mark of the Web was developed for IE6, whereas you run IE8.  The security in IE8 is supposed to be the best of any IE.  
I wonder if the following would have a similar effect.  
IE Tools|Internet Options|Security tab|Custom Level|in the Miscellaneous section set "Websites in less privileged web content zone..." to Enable or Prompt and see what happens.

 

by: ee_autoPosted on 2009-12-24 at 01:20:05ID: 26118134

Question PAQ'd, 500 points refunded, and stored in the solution database.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...