Image sizing fix from andy. fixes #6074
git-svn-id: https://develop.svn.wordpress.org/trunk@7137 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
eb60b59c5d
commit
7aa9161dc3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue