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: Top URL's, including an OpenCart V-Pro Installation!
A wide range of available Site Designs can be seen here: http://www.opencart.li
For more Information on URL's offered, please contact me at: jti@jacob.ch
380+ free Extensions for OpenCart v.1.5.x - v.2.3.x Versions
can be found in my Github Repositories: https://github.com/IP-CAM
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 11 guests