Sorry, that is an over-complicated solution....
- Download the image and save to Application Specific Directory (ASD)
1.5 resize the image with the extension if you want to (but you can do this in 2. with html) - Have a suitable html file with an img tag to show the image in the ASD
- Show the html file in the webviewer
If you have complex images with text and "graphics" you are better off just displaying as I have indicated above in previous posts and scroll/resize in the webviewer window.
You can save the image to file and load into an html file to achieve much the same thing.
There may be other ways.....