Results 1 to 1 of 1
  1. #1
    Join Date
    Jul 2008
    Posts
    360
    Plugin Contributions
    0

    Default Moding IH4 to be able to accept external images

    [Note: remember to include site URL, ZC version, list of plugins, PHP version, etc ... read the Posting Tips shown above for information to include in your post here. And, remove this comment before actually posting!]
    http://theoutletseason.com/nfc (demo site)

    Currently using 1.5.5a until I fix this, because it's a sandbox.

    My problem :

    I use a proprietary system to instantly upload and auto update ALL my products every day, from the vendors server.
    The system adds two tables to the standard structure, and uses direct URL for the images.
    so each product image is remote.

    As ZC is designed to make this really hard, I went through several suggestions, and was using, some old contributions, that gave a bit more light to the thing in question, therefore I was able to pinpoint what to target, but so far my efforts to remove the added FS_Catalog and /image before the string that builds the src, have been unsuccessful, as I always ended up with the same,
    HTML Code:
    http://theoutletseason.com/nsc/images/http://vendorsurl.com/externalimagename
    Which is completely wrong!!!
    because I just need the img src to be http://vendorsurl.com/externalimagename.jpg
    but despite my efforts, like if I
    PHP Code:
    define('DIR_EXT_HTTP',''); 
    and replace all instances of DIR_WS_IMAGES, that are related to products, of course not icons or local images, just products.
    I end up with the same malformed URL ...
    Last edited by icecold; 10 Apr 2018 at 12:35 AM. Reason: fix

 

 

Similar Threads

  1. linking to external images, outside of 'images/'
    By emphatic in forum Templates, Stylesheets, Page Layout
    Replies: 31
    Last Post: 7 Apr 2014, 10:48 AM
  2. External Images
    By yourguide in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 3 Aug 2011, 02:14 PM
  3. Customer Able To Upload Images?
    By tiz in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 5 Mar 2008, 04:33 PM
  4. Not able to upload product images!
    By credible in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 26 Nov 2007, 11:59 PM
  5. warning after moding the admin directory
    By Webdraon777 in forum Installing on a Linux/Unix Server
    Replies: 11
    Last Post: 4 Feb 2007, 06:42 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR