|
|
|
|
|
by masswerk
1275 days ago
|
|
A common problem seems to be connected to setting a CSS dimension to "auto", as for responsive layouts. This seems to do the job, though: <img src="whatever.jpg" width="400" height="300" style="width: 400px; max-width: 100%; height: auto; aspect-ratio: 4/3;" alt="yet another image" />
|
|