Move image directory to remote server

want to move the location of the default /img folder to a remote server.
help me with what settings I need to make in the config folder

if i remember correctly all you have to do is provide absolute path in

and of course use <?= $this->Html->image(...) ?> to output it