Thread:Extension talk:VisualEditor/Is picture search in VE wikicommons only?/reply (8)

My problem is that it doesn't search the local media directory. Uploading is enabled; $wgUploadDirectory and $wgUploadPath are set. Do I also have to define the local directory as a media repository somehow?