.post img { max-width: 525px; width: expression(this.width > 525 ? 525: true); }