Don't create thumbnail images larger than the image; use the source image
authorBrion Vibber <brion@users.mediawiki.org>
Thu, 29 Apr 2004 04:42:52 +0000 (04:42 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Thu, 29 Apr 2004 04:42:52 +0000 (04:42 +0000)
commit00e5822e17843fe97169db68ed6076d98c1d46ad
treea04aafddb03d90e434e5a1bcd3f6c95db6b696a6
parent7c98afbdb7aee4212b3166ab8bf19706b53830cd
Don't create thumbnail images larger than the image; use the source image
itself if asked. Reject attempts at zero or negative-width thumbs.
includes/Image.php