diff --git a/wp-content/themes/twentyten/loop-attachment.php b/wp-content/themes/twentyten/loop-attachment.php index 3ebef0ee3..20794fba0 100644 --- a/wp-content/themes/twentyten/loop-attachment.php +++ b/wp-content/themes/twentyten/loop-attachment.php @@ -86,8 +86,9 @@ } ?>

ID, array( $attachment_size, 9999 ) ); // filterable image width with, essentially, no limit for image height. + $attachment_width = apply_filters( 'twentyten_attachment_size', 900 ); + $attachment_height = apply_filters( 'twentyten_attachment_height', 900 ); + echo wp_get_attachment_image( $post->ID, array( $attachment_width, $attachment_height ) ); // filterable image width with, essentially, no limit for image height. ?>