two stores, 1 image directory

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
Willisski
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 82
Joined: Thu Oct 27, 2005 1:46 am
Location: http://www.Thejibshop.com
Contact:

two stores, 1 image directory

Post by Willisski » Wed Jul 29, 2009 12:04 pm

We are running 2wo websites. They are two distinct database and licenses. Two stores. The only thing that they have in common is the product images.
Question: product images. Is there anyway to use/share the asset/productimage directory.
I would like to only have one asset/productimage folder that both sites reference for products. Currently we have over 18000 images and it takes forever to sync.

Thanks for any suggestions
Greg

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: two stores, 1 image directory

Post by jmestep » Wed Jul 29, 2009 1:18 pm

You might be able to map a drive from one site to the other site's folder. A hosted did that for me to an external hard drive for storing digital files-- mapped it to the App_Data/Digital Goods folder.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

User avatar
Willisski
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 82
Joined: Thu Oct 27, 2005 1:46 am
Location: http://www.Thejibshop.com
Contact:

Re: two stores, 1 image directory

Post by Willisski » Thu Jul 30, 2009 12:42 pm

I have all of the images mapped on one drive locally like you describe. Is that possible at the server level?

User avatar
nickc
Captain (CAPT)
Captain (CAPT)
Posts: 276
Joined: Thu Nov 29, 2007 3:48 pm

Re: two stores, 1 image directory

Post by nickc » Thu Jul 30, 2009 4:01 pm

You could symlink the images folder from a common location into both sites:
- on Server 2008, use "mklink /d source_folder_path target_folder_path"
- on Server 2003, download the sysinternals tool "junction" from http://technet.microsoft.com/en-us/sysi ... 96768.aspx

Basically, the NTFS version of "ln -s".

Post Reply