img
{
width: 100%;
height: 100%;
max-width: 1500px;
max-height: 1500px;
scale: expression((this.offsetWidth > this.offsetHeight)?(this.style.width = this.offsetWidth >= 1500 ? "1500px" : "auto"):(this.style.height = this.offsetHeight >= 1500 ? "1500px" : "auto"));
display: inline !important;
}