To get the photo to fit the webview, you can use the below code for TempHtml:
TempHtml="<html><body topmargin='0' leftmargin='0' marginwidth='0' marginheight='0'><center>" _
& "<img src=" & ImagePath & " width='100%' height='100%'/></center>" _
& "</body></html>"
You can add this line to the code to fit the webview to the device screen:
WebView1.Height=Activity.Height :WebView1.Width=Activity.Width
Or you can add this to the Designer script:
WebView1.SetLeftAndRight(0,100%x)
WebView1.SetTopAndBottom(0,100%y)
You still can zoomin/out, but when you let go it returns to the original fit. Someone may offer a better way.