Forums / Templates, Stylesheets, Page Layout / Location of image catalogue (multi-store database)

Location of image catalogue (multi-store database)

Locked

Views: 2,156

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
9 Aug 2008, 5:26 PM
#1
veronika7747 avatar

veronika7747

Zen Follower

Join Date:
Nov 2007
Posts:
270
Plugin Contributions:
0

Location of image catalogue (multi-store database)

I would like to use the same product images in two different stores. Both stores are installed in the same database, one has a prefix and all the files of that store are in a separate folder XXX. I modified the configure.php files as follows (for the store without a prefix):
in admin:
define('DIR_WS_IMAGES', XXX/images/');
define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . XXX/images/');
define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'Retail/images/');
and also in include:
define('DIR_WS_IMAGES', XXX/images/');

However, not only I don't see the product images, I don't see any icons in Admin of the store I made the changes to.
Where am I going wrong??
Tx
Veronika

9 Aug 2008, 7:08 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Location of image catalogue (multi-store database)

Try setting to

define('DIR_WS_IMAGES', http://your_domain.com/images/');

Where this is the path to where the images are

Zen-Venom Get Bitten

9 Aug 2008, 10:20 PM
#3
veronika7747 avatar

veronika7747

Zen Follower

Join Date:
Nov 2007
Posts:
270
Plugin Contributions:
0

Re: Location of image catalogue (multi-store database)

kobra:

Try setting to

define('DIR_WS_IMAGES', http://your_domain.com/images/');

> Where this is the path to where the images are

I figured it out (after I asked for assistance); just in case others are trying to do the the same --
no changes in admin/include
and in include:
define('DIR_WS_IMAGES', XXX/images/');
I aslo compounded my difficulties by include "XXX/images" as part of the v_products_image field in easypopulate...
Once I rerun easypopulate, all is fine.:smile:

Thanks anyway
Veronika