Image sizing fix from andy. fixes #6074

git-svn-id: http://svn.automattic.com/wordpress/trunk@7137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-03-03 20:53:04 +00:00
parent 46acda57a4
commit 0ab4077b3c
1 changed files with 2 additions and 0 deletions

View File

@ -73,6 +73,8 @@ function image_downsize($id, $size = 'medium') {
$width = $info[0];
$height = $info[1];
}
else
return false;
}
elseif ( isset($meta['width'], $meta['height']) ) {
// any other type: use the real image and constrain it