Not for official support
We do not provide technical support in this forum.
If you want to contact our customer support, please use our support form.
You are not logged in.
Hi all,
I have looked thru all the forum and i have not found a way to solve this problem:
I have all my product images (hundred of thousands of them) already hosted in another website and i do not wish to move/import all of them into my website. There are many reasons i do not want to import / move them and one of them is bandwidth problem that cannot be solved easily.
So how can i do that? is there any code i need to modify so that i will work?
please help me on this matter, MANY thanks!!
Eric
Offline
Do you have both websites within one web-hosting account or are they physically located on different servers?
Offline
They are physically located on different servers
thanks for your quick reply!
Offline
Then you can edit storefroint template files containig code
{$smarty.const.URL_PRODUCTS_PICTURES}and replace it with
http://othershop.com/published/publicdata/OTHER_SHOP_DBKEY/attachments/SC/products_pictures
where othershop.com must be changed to the domain name of the other online shop and OTHER_SHOP_DBKEY to its database key.
Offline
Very good, but one last problem:
my product pictures are grouped inside folders. for example for productID # 12345, the pictures are located in:
http://othershop.com/published/publicdata/OTHER_SHOP_DBKEY/attachments/SC/products_pictures/12300
and for product ID #23456, the pictures are located in:
http://othershop.com/published/publicdata/OTHER_SHOP_DBKEY/attachments/SC/products_pictures/23400
and etc..
(so that means for each folder, it holds images of each 100 products)
and so how can i add the folder names right before the picture file names?
my shop will be opened after this problem is solved!
your help is very much appreciated!
Offline
I could assign a unique "page ID" value for each product and change the image storage logic to retrieve images from subfolders with names matching products' page IDs rather than their productIDs. It is easier to have the same page IDs in several databases than maintaining an equal list of productIDs. Of course, it would not be easy, but I cannot see an easier way.
Offline