Post by storiqax » Thu Jun 07, 2018 8:12 pm

Hello,

I want to load the images from a subdomain.
I made one and changed the config.php and admin/config.php from

Code: Select all

define('DIR_IMAGE', '/var/www/vhosts/xxxxxxxxx.gr/xxxxxxx.com/image/');
to

Code: Select all

define('DIR_IMAGE', '/var/www/vhosts/xxxxxxxxx.com/images.xxxxxxxxx.com/image/');
What else I have to do? The images still loading from the default domain, not from the images.xxxxxxx.com

Newbie

Posts

Joined
Tue May 29, 2018 10:19 pm

Post by IP_CAM » Fri Jun 08, 2018 1:41 am

Well, this cannot be done this way, images have to be called by a remote URL,
not by changing the internal Server Path.
Check this Extension, to 'basically' find out, how this needs to be done.
https://www.opencart.com/index.php?rout ... n_id=23506
Good Luck ! ;)
Ernie

Ernie's OpenCart v.1.5.6.5 LIGHT + V-Pro + OpenShop Admin v.1.75 Test Sites
http://www.bigmax.ch - http://www.opencart.li/shop/ - http://www.velomech.ch/cart/
Image


User avatar
Guru Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: No registered users and 10 guests