Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Change image directory to a different (Sub-)domain


wolfalex

Recommended Posts

Hi,

 

I want to change the image directory in the configure.php to a different subdomain than the shop is. For example: The shop runs on www.yyyyyyy.xx Now I want the images to load from subdomain.yyyyyy.xx

Is it possible to change the configuration file to load the images from there? I think I can not just change the value to the subdomain. This will not work.

 

I hope anybody has done this before and can help me.

 

Alex

Link to comment
Share on other sites

Hi,

 

I want to change the image directory in the configure.php to a different subdomain than the shop is. For example: The shop runs on www.yyyyyyy.xx Now I want the images to load from subdomain.yyyyyy.xx

Is it possible to change the configuration file to load the images from there? I think I can not just change the value to the subdomain. This will not work.

 

I hope anybody has done this before and can help me.

 

Alex

I would be curious why you want to do this as I cannot think of a way to do it without altering code. If your objective is to just store the images somewhere other than the /catalog/ path then if on linux you could use links and store them just about anywhere in the file structure.

 

But I think altering the code is the only way to pull the images from another domain.

Community Bootstrap Edition, Edge

 

Avoid the most asked question. See How to Secure My Site and How do I...?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...