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

User avatar
New member

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

For Sale: Turnkey Top URLs with Opencart installed!
OpenShop Admin + Opencart V-Pro Test Site: http://www.velomech.ch
For more Information, please contact me at: jti@jacob.ch
Free OC Fixes + Mods from the largest Github OC Archive on Earth,
512+ Repositories full of Wisdom for OC v.1.5.x - v.2.3.x
Github Opencart Site: https://github.com/IP-CAM
Image


User avatar
Legendary Member

Posts

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

Users browsing this forum: No registered users and 8 guests