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.
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.
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
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.
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
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
Moderation
Destination thread ID and reason are required when shown.
Report Post
Tell staff why this post should be reviewed.
Manage cookie preferences
Our cookie policy has been updated, so we need you to review your preferences and consent again.