I searched here, but only found a reference from 9 (!) years ago, so I’m hoping there’s a different answer.
Admittedly, I’m not well versed in HTML, either. Ok, that’s out of the way.
Is there a way to have an image resized automatically? We plan on having opening splash screens and it would be ideal to have the .jpg fit the current terp window. I’m using the following code I got from Nikos and Eric to display the initial image followed by the banner code:
"<div style='text-align: center;'> <img src='edgesplash01.jpg' style='max-width: 100%; height: auto;' alt='placeholder' /> </div>"; cutSceneBanner.updateMe('<tab align=center><img src=\"edgesplash01.jpg\" border=0><.p>'); inputManager.getKey(nil); cls(); cutSceneBanner.removeBanner(); cutSceneBanner.updateMe('<tab align=center><img src=\"edgesplash02.jpg\" border=0><.p>'); inputManager.getKey(nil); cutSceneBanner.removeBanner();
So it does what I need in terms of displaying the images but I would really like to have the images resized automatically.
Is this possible?