Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2006
    Location
    St. Louis
    Posts
    30
    Plugin Contributions
    0

    Default Pull product images from another server?

    Is there anyway I can pull the product images from another server. The server my product images are on is a different server than the server my zen-cart store is on. Is this doable?

    Thanks
    Dan

  2. #2
    Join Date
    Jun 2006
    Location
    St. Louis
    Posts
    30
    Plugin Contributions
    0

    Default Re: Pull product images from another server?

    I have tried setting the DIR_WS_IMAGES in the includes/configure.php file to the path of the images on the other server, but this does not seem to work? Any explanation or solution would be appreciated.

    Thank you,
    Dan

  3. #3
    Join Date
    Jun 2006
    Location
    St. Louis
    Posts
    30
    Plugin Contributions
    0

    Default Re: Pull product images from another server?

    I guess that the DIR_WS_IMAGES has a full path associated with it ie var/www/vhosts/hostname.com/zencart/

    So if I am putting a url in after the define, it is doing something like:
    var/www/vhosts/hostname.com/zencart/http://otherserver.com/images/

    so I guess my question is, can I somehow overwrite this path, and instead put in a URL to another server?

    Thanks,
    Dan

  4. #4
    Join Date
    Oct 2007
    Posts
    1
    Plugin Contributions
    0

    bug get images from another server

    is there a way to make zen cart get images from another server because all my products i import use a csv file, which says: http://sjgksbgjsgsgsgsdghsjgd/images/whatever.jpg/

    and i can download the images from my dropshipper and put them on my server but this is time consuming and a waste of space, can i just make zen cart set the product image path to the url i provide in the csv i import?
    so instead of myshop/images/
    it just gets them direct.

  5. #5
    Join Date
    Oct 2008
    Posts
    4
    Plugin Contributions
    0

    customer issue How can I fetch product images from a different web server?

    Greetings Zen Heads,

    How can I go about changing the source path to where product images are stored? I am going to invoke a process of submitting/updating products and images on a separate server than which zen-cart resides.

    Can I expect any security or permission settings within zen-cart prohibit me from fetching product images from a different web server?

    Much Thanks,

    HJ
    Last edited by HighJump; 25 Oct 2008 at 01:39 AM.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: How can I fetch product images from a different web server?

    Zen Cart's infrastructure is presently written in such a way that it expects the file to exist on the local filesystem. It doesn't currently support externally-stored files.
    .

    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.

 

 

Similar Threads

  1. Additional Images pull from other database field?
    By micmed in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 3 Jan 2010, 03:03 AM
  2. Moving from another server
    By carter in forum Installing on a Linux/Unix Server
    Replies: 10
    Last Post: 29 Apr 2008, 12:04 PM

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