Translations:Manual:$wgSharedUploadDirectory/10/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)