EVRF

/** * Filter the Twenty Eleven default attachment size. * * @since Twenty Eleven 1.0 * * @param int The height and width attachment size dimensions in pixels. Default 848. */ $attachment_size = apply_filters( 'twentyeleven_attachment_size', 848 ); echo wp_get_attachment_image( $post->ID, array( $attachment_size, 1024 ) ); // filterable image width with 1024px limit for image height. ?>