
...but what I'm experiencing today is just ridiculous. I'm trying to display an image in the html page created by our Windows Foms application. Sounds simple enough, right? The first few times it failed, I figured maybe I wasn't providing the correct path to the image, which will reside in the same directory as our application.
After several more failed attempts, I was still seeing the little red X that indicates a missing image. I right-clicked on the image and copied the path, then pasted that path in a new IE window. Same result. When I pasted the path in a new Firefox window, things got interesting: the image showed up. So I have the right path, but why isn't IE showing me the image?
My next test was to open Windows explorer and browse to the folder containing the image. I also open a new IE window. I then dragged the image from the explorer window into IE and, once again, the image would not display. What gives?!
I've been Googling all afternoon looking for a reason. I found out this is actually a "feature" of IE7. They actually did this on purpose! There is a workaround which involves creating a new registry key to opt-out of this feature, but I've yet to get that to work. If anyone has a suggestion, email me: martin-at-wittersworld-dot-com.
Update: It turns out that this feature blocks the display of images that have been saved to your hard drive from a source such as the internet or an e-mail. Overkill if you ask me....