Serving Images From A Subdomain

Does anyone have idea of required configuration to serve images from a subdomain say images.mydomain.com?

Any add-ons that could help?

Hello therem,
there is another topic here:
https://forum.cs-cart.com/t/how-to-change-image-path-to-a-subdomain/38573
that says:

“There are more ways to modify the url but the simple and fastest is:
#on file config.php
replace:
$config[‘images_path’] = $config[‘current_path’] . ‘/images/’;
to:
$config[‘images_path’] = ‘http://images.ourwebsite.com’ . ‘/images/’;
I hope that helps,”

If you find another solution or you emplemanted something, please let me know!

1 Like