Results 1 to 7 of 7
  1. #1
    Join Date
    Jul 2007
    Location
    Minneapolis, MN, United States
    Posts
    71
    Plugin Contributions
    0

    Default 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

  2. #2
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default 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.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Jul 2007
    Location
    Minneapolis, MN, United States
    Posts
    71
    Plugin Contributions
    0

    Default 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

  4. #4
    Join Date
    Oct 2005
    Posts
    286
    Plugin Contributions
    0

    Default 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.

  5. #5
    Join Date
    Jul 2007
    Location
    Minneapolis, MN, United States
    Posts
    71
    Plugin Contributions
    0

    Default 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
    I dont care what it says next to my name. I've been Zenned!

  6. #6
    Join Date
    Oct 2005
    Posts
    286
    Plugin Contributions
    0

    Default Re: Change Image Directory

    How did you get around the image size problem?

  7. #7
    Join Date
    Jul 2007
    Location
    Minneapolis, MN, United States
    Posts
    71
    Plugin Contributions
    0

    Default 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
    I dont care what it says next to my name. I've been Zenned!

 

 

Similar Threads

  1. v151 Image directory
    By RiverCity in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 16 Dec 2013, 05:27 PM
  2. Adding another sub-directory level to Image Directory?
    By erko in forum General Questions
    Replies: 0
    Last Post: 31 May 2010, 12:33 PM
  3. Directory Change Problem
    By gestun in forum General Questions
    Replies: 8
    Last Post: 22 Oct 2009, 02:15 PM
  4. Change directory and now image uploads don't work
    By audleman in forum Installing on a Windows Server
    Replies: 3
    Last Post: 26 Feb 2008, 07:50 PM
  5. Change Directory Location
    By a4tech in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 16 Jul 2007, 09:12 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg