Connecting Tech Pros Worldwide Forums | Help | Site Map

axWebBrowser not displaying images

Tom
Guest
 
Posts: n/a
#1: Oct 16 '07
VS 2003/C#

Have a axWebBrowser control that will not render images.
Originally our app was just launching IE7 to display an HTML page. The
bitmap images were not displaying - path was correct and HTML was correct.
After converting images to JPG they started displaying OK in IE7. When we
embedded the HTML in the axWebBrowser control it reverted back to the
original behavior - no images.

Images (even bitmaps) rendered OK in firefox...did not get to test in IE6.

TIA...Tom



Cor Ligthert[MVP]
Guest
 
Posts: n/a
#2: Oct 16 '07

re: axWebBrowser not displaying images


Tom,

Strange because the AXWebbrowser is nothing more than IE in the OS. It
relys on the IE settings in the OS how it behaves (If you want that or not).

:-)

Cor

Tom
Guest
 
Posts: n/a
#3: Oct 16 '07

re: axWebBrowser not displaying images


Any idea why IE won't render bitmaps?

Where using a basic img tag:
<img src='formationimages\\formation" + intFormationID + ".jpg'>


"Cor Ligthert[MVP]" <notmyfirstname@planet.nlwrote in message
news:73DC3517-C35F-43F6-A04A-1024985068F6@microsoft.com...
Quote:
Tom,
>
Strange because the AXWebbrowser is nothing more than IE in the OS. It
relys on the IE settings in the OS how it behaves (If you want that or
not).
>
:-)
>
Cor

Cor Ligthert[MVP]
Guest
 
Posts: n/a
#4: Oct 17 '07

re: axWebBrowser not displaying images


Tom,

As an image is not shown in a webpage then it is mostly a question if the
image is on the given place. This can be because your miss in front ..\ or
whatever but that is depending how you did organize that in your webpages.

Cor

Tom
Guest
 
Posts: n/a
#5: Oct 17 '07

re: axWebBrowser not displaying images


What you say might be true if the same page did not render properly in
firefox or by simply changing the file type. The problem is IE7. Do you
know how to get IE to accept bitmaps?

"Cor Ligthert[MVP]" <notmyfirstname@planet.nlwrote in message
news:eCJO%23tHEIHA.5208@TK2MSFTNGP04.phx.gbl...
Quote:
Tom,
>
As an image is not shown in a webpage then it is mostly a question if the
image is on the given place. This can be because your miss in front ..\ or
whatever but that is depending how you did organize that in your webpages.
>
Cor

Registered User
Guest
 
Posts: n/a
#6: Oct 17 '07

re: axWebBrowser not displaying images


On Tue, 16 Oct 2007 13:39:08 -0400, "Tom"
<tom.gaughan@excursiontech.comwrote:
Quote:
>Any idea why IE won't render bitmaps?
>
>Where using a basic img tag:
><img src='formationimages\\formation" + intFormationID + ".jpg'>
>
Would it work if the extension in the example were changed to ".bmp"?

regards
A.G.
Closed Thread


Similar C# / C Sharp bytes