Uploading images to the WordPress uploads folder via FTP or the cPanel is different from uploading them through the WordPress dashboard. When you upload an image through the Media Library, for example, the image gets registered with WordPress. WordPress assigns some unique identification values to it.
With the help of a plugin, however, you can register your uploaded images with WordPress. The Add From Server is compatible with WordPress version 5.2.2. Please note that we do not make any form of warranty whatsoever in writing about the plugin. Download and install the plugin at your own risk.