
Originally Posted by
kobra
nicktrini,
Just move the images in your /images dir to the /shop/images dir
But, what if you need the images directory to stay in the root, and do not want to copy them to the subdirectory because the folder is shared with the new root of the site? Example:
The Zen Cart site was moved from the root to http://site.com/shop
Everything in includes/configure.php has been updated to reflect this subdirectory:
PHP Code:
define('HTTP_SERVER', 'https://site.com');
define('HTTPS_SERVER', 'https://site.com');
define('DIR_WS_CATALOG', '/shop/');
define('DIR_WS_HTTPS_CATALOG', '/shop/');
define('DIR_FS_CATALOG', 'host/account/public_html/shop/');
I want images to stay in the root, so I added this to includes/configure.php:
PHP Code:
define('DIR_WS_IMAGES', 'http://site.com/images/');
Result so far: the main product image on listings pages and product pages works! The additional images do not work.
(Old thread, I know, but after reading all of the other ones, this thread really sums up the question I have.)