Hi, I am trying to insert some images into the scene using HTML label, but I couldn’t get the result I wanted.
First, here is the original code I am using, simply using image tag.
<img src="https://www.blitzmultimediadesign.com/resources/AZ2/Science/Synagis%20Launch/JPG/v2/1.jpg">
<br>
<img src="https://www.blitzmultimediadesign.com/resources/AZ2/Science/Synagis%20Launch/JPG/v2/2.jpg">
<br>
<img src="https://www.blitzmultimediadesign.com/resources/AZ2/Science/Synagis%20Launch/JPG/v2/3.jpg">
<br>
<img src="https://www.blitzmultimediadesign.com/resources/AZ2/Science/Synagis%20Launch/JPG/v2/4.jpg">
Here is the result
All the source images are the same width but the result shown here are weirdly scaled, so I try to change them using inline CSS like this.
<img style="width:100%;height:auto" src="https://www.blitzmultimediadesign.com/resources/AZ2/Science/Synagis%20Launch/JPG/v2/1.jpg">
<br>
<img style="width:100%;height:auto" src="https://www.blitzmultimediadesign.com/resources/AZ2/Science/Synagis%20Launch/JPG/v2/2.jpg">
<br>
<img style="width:100%;height:auto" src="https://www.blitzmultimediadesign.com/resources/AZ2/Science/Synagis%20Launch/JPG/v2/3.jpg">
<br>
<img style="width:100%;height:auto" src="https://www.blitzmultimediadesign.com/resources/AZ2/Science/Synagis%20Launch/JPG/v2/4.jpg">
Here is the result
The width of the images has been fixed, but the height isn’t scaled correctly. Is there something wrong with my code?