if(is_single()) { <style type="text/css"> img { max-width: 600px; /* Resize the image for IE6 */ width: expression(this.width > 600 ? 600: true); } </style> }