The orientation in .jpg file is not honored in FireMonkey TWebBrowser


I got help from Peter Wolf last week to rotate a photo in TWebBrowser. Now I am trying to further take the advantage of orientation. The following is a simple photo in portrait mode. It is loaded correctly in Chrome and Edge and I can see the orientation is automatically honored. But how to make this work in FireMonkey TWebBrowser of Delphi 10.3.3. I tried some meta tags but no luck.
<!DOCTYPE html>
img {
display: block;
width: 300px;
height: auto;
<img src="20190228-1.JPG" />

Comments are closed.