I know how to display an image from vbscript using IE from an earlier
posting

Option Explicit
Const cIMG = "<img src='c:\windows\space.bmp' border='0'>"
Dim objIEA
Set objIEA = CreateObject("InternetExplorer.Application")
objIEA.ToolBar = 0
objIEA.StatusBar = 0
objIEA.Width = 330
objIEA.Height = 180
objIEA.Left = 0
objIEA.Top = 0
objIEA.Visible = True
objIEA.Navigate "about:blank"
While objIEA.Busy
wscript.Sleep 100
Wend
objIEA.Document.Body.InnerHTML = cIMG

Is there some way to modify this so that the image is automatically scaled
to fit in the window as is done when you select the option

Tools -> Internet Options -> Advanced -> Enable Automatic Image Resizing