Thread:Project:Support desk/Pictures at with Interwiki and Commons/reply (3)

For me solution was - to use $wgForeignFileRepos (https://www.mediawiki.org/wiki/Manual_talk:$wgForeignFileRepos)

$wgForeignFileRepos[] = array(  'class'            => 'FSRepo',   'name'             => 'sharedFsRepo',   'directory'        => '/home/my_user/public_html/wiki/media',   'url'              => 'http://www.my_wiki.com/media',   'hashLevels'       => 0, );