How to Change Image Path to a Subdomain

Hi. We're trying to change our website's image path to a subdomain, for example, our current image path is at Directnic. We want to change to

Can someone tell me which file I need to modify and which code I should change?

Thank you


There are more ways to modify the url but the simple and fastest is:

#on file config.php


$config['images_path'] = $config['current_path'] . '/images/';


$config['images_path'] = '' . '/images/';

I hope that helps,


Hi, vali

the simple and fastest for ver 4.x?