Separate Large and Full image sizes. Props tellyworth. fixes #7151

git-svn-id: https://develop.svn.wordpress.org/trunk@8612 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2008-08-11 03:54:26 +00:00
parent 1c05d81e06
commit da4e0eca48
7 changed files with 88 additions and 30 deletions

View File

@@ -96,7 +96,7 @@ function wp_generate_attachment_metadata( $attachment_id, $file ) {
$metadata['file'] = $file;
// make thumbnails and other intermediate sizes
$sizes = array('thumbnail', 'medium');
$sizes = array('thumbnail', 'medium', 'large');
$sizes = apply_filters('intermediate_image_sizes', $sizes);
foreach ($sizes as $size) {