I want linked images to have the size 800x600 with the original proportions. The linked images could have the site 1000x400 or for example 600x1000.
At this time I resize the image with width=800px and in the class div overflow is hidden
<div class="cut">
<img src="www.example.de/image" width=800px>
</div>
This works when the image proportion is like 600x1000, but not when it is 1000x400. How does it handle every image size?
800pxwork only in CSS, use withoutpxinwidth="..."html attribute or use CSS:.cut img { width: 800px; }