New Zenner
- Join Date:
- Sep 2006
- Posts:
- 5
- Plugin Contributions:
- 0
Images on a subdomain
If i have a website say **https://www.mywebsite.com **and a subdomain images.mywebsite.com, is there a way to call images from this subdomain instead of images/ folder?
I know images subdomain use images/ folder anyway but I want them to look like coming from another server and I don't know how to set this up in anywhere. I tried to change admin/includes/configure.php line that says
define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');
to
define('DIR_WS_CATALOG_IMAGES', 'http://images.mywebsite.com/');
but didn't work. I think this is specific to admin pages anyway.
I tried changing /includes/configure.php also.
Is there a way to use subdomain for images?
Thanks in advance.