{basePath} creates a folder named {basePath} issue
Assuming this is using Craft 3, you should use aliases.

In your config/general.php add:

'aliases' =&gt; [
    'web' =&gt; 'https://site.com',
    'webroot' =&gt; dirname(__DIR__) . '/web'
],


Then in your Control Panel, under Settings → Assets → Images, set your Base URL to @web/images and File System Path to @webroot/images.