How to show portrait photo in HTML in FireMonkey TWebBrowser?


A portrait photo in HTML is wrongly appeared in FireMonkey TWebBrowser of Delphi 10.3.3. The photo needs rotation of 90 degrees. I got help from Peter to rotate it. But this is the most basic feature. How to show it correctly without any rotation? Please someone help me!. Thanks. The following is the HTML page and the photo in img is in portrait format.
<!DOCTYPE html>
img {
display: block;
width: 300px;
height: auto;
<img src="20190228-1.JPG" />

Comments are closed.