Translations:Manual:$wgUseSharedUploads/9/en

For resizing images in mediawiki they need to have a row in image table of database containing dimensions and other information of image so you can't resize images that haven't been uploaded by MediaWiki software and for importing them to database without using MediaWiki interface, you'll need to use some maintenance scripts (maintenance/importimage.php).