My store is located at store.domain.com. I have a content delivery network set up at cdn.domain.com. Both domains can deliver content:
http://store.domain…es/icons/go.gif
- OR -
http://cdn.domain.co…es/icons/go.gif
In /core/fn.init.php, I found a 'images_dir' variable:
$view->assign('images_dir', Registry::get('config.full_host_name') . Registry::get('config.current_path') . (str_replace(DIR_ROOT, '', $skin_path)) . '/' . AREA_NAME . "/images");
How can I override this variable to serve images from the CDN?