I am handling html css code like this so that my table has a cell with images
.illustration_tr {
top: opx;
left: 0px;
width: 512px;
height: 288px;
background: #eaeaea 0% 0% no-repeat padding-box;
border-radius: 4px;
opacity: 1;
}
.illustration_td {
max-height: 100%;
max-width: 100%;
overflow: clip;
}
<tr class="illustration_tr" id="illustration_tr">
<td>
<img class="illustration_td" id="illustration_td" src="https://cdn.pixabay.com/photo/2022/04/18/02/24/architecture-7139263_1280.jpg" />
</td>
</td>
The final image comes likes this . If you see it shows 512 x 341 in chrome debugger which is not what i want . How can i make it explicit to my specs of 512 x 288
