As a possible solution to my own post ( here ) I have found this code:
Could someone please translate this so that I can use it to get the height and width in an array or two variables. The html page contains just a single image, whereby the name changes.
Maybe Warwound, the Javascript Guru?
B4X:
<html><head><title>Test</title>
</head><body>
<img src="christa.jpg" name="Christa" alt="Christa">
<script type="text/javascript">
document.write(document.Christa.name + "<br>");
document.write(document.Christa.width + " x " + document.Christa.height + " Pixel");
</script>
</body></html>
Could someone please translate this so that I can use it to get the height and width in an array or two variables. The html page contains just a single image, whereby the name changes.
Maybe Warwound, the Javascript Guru?