Forums / General Questions / Change Image Directory

Change Image Directory

Locked
Results 1 to 7 of 7
This thread is locked. New replies are disabled.
04 Oct 2007, 23:10
#1
kthompson avatar

kthompson

New Zenner

Join Date:
Jul 2007
Posts:
71
Plugin Contributions:
0

Change Image Directory

I am trying to store all of my images on another subdomain.

i.e. my website is "www.mystore.com" and all my images are uploaded to "images.mystore.com".

Can someone let me know if this is possible.

I already tried putting "define('DIR_WS_IMAGES', '/../../images.mystore.com/')" in the configure.php file. It just puts "www.mystore.com/images.mystore.com/image.jpg" no matter how many "../" things I put.

Any advice is appreciated
05 Oct 2007, 05:07
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: Change Image Directory

The current version of Zen Cart does not accommodate entering URLs for image locations. It assumes they're all served from the same server and domain as the store.

You could hire out for custom programming to change that behavior if it's a crucial requirement. There's a Commercial Help-Wanted area in the forum for that purpose.
05 Oct 2007, 05:54
#3
kthompson avatar

kthompson

New Zenner

Join Date:
Jul 2007
Posts:
71
Plugin Contributions:
0

Re: Change Image Directory

Thanks for the reply. Its not crucial Just would make my life a little easier as I am using the multisite module and I dont want to copy images over and over
06 Dec 2007, 06:31
#4
marknew avatar

marknew

Zen Follower

Join Date:
Oct 2005
Posts:
274
Plugin Contributions:
0

Re: Change Image Directory

Hi KThompson, about using the one lot of images for mulisite. Did you sort that out? I am setting up another multisite that is using the one lot of images. I have it working for the small image but not the popup.
Cheers,
Mark.
06 Dec 2007, 14:51
#5
kthompson avatar

kthompson

New Zenner

Join Date:
Jul 2007
Posts:
71
Plugin Contributions:
0

Re: Change Image Directory

I ended up using a redirect for my images. Redirecting one image folder to another it kinda worked but not quite. Image sizes were messed up. You can try it as it may work for you there could have been something I overlooked. Let me know if I can help
06 Dec 2007, 19:34
#6
marknew avatar

marknew

Zen Follower

Join Date:
Oct 2005
Posts:
274
Plugin Contributions:
0

Re: Change Image Directory

How did you get around the image size problem?
06 Dec 2007, 23:05
#7
kthompson avatar

kthompson

New Zenner

Join Date:
Jul 2007
Posts:
71
Plugin Contributions:
0

Re: Change Image Directory

I copied the images to the other size which REALLY defeats the purpose but for some reason it worked. I'm sure there's a way to get redirection to work but I haven't had time to find one