Results 1 to 10 of 14

Hybrid View

  1. #1
    Join Date
    Dec 2012
    Posts
    27
    Plugin Contributions
    0

    Default Using external images

    Hi guys,

    hope you can assist me as this hs been a nightmare. My supplier wants me to use live images from their site for my products. I've installed the external image mod but the zen cart is looking for my images in the location:

    http://thepetpad.co.uk/images/thepet...pink%20paw.JPG

    instead of
    http://thepetpad.co.uk/images/round%20pink%20paw.JPG

    Can anyone tell me what's wrong. The site is www.thepetpad.co.uk.

    Thanks guys

    Iain

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Using external images

    Quote Originally Posted by IAINMCG View Post
    I've installed the external image mod ...
    Well... it is not so much an "installation" as a series of core edits. And the "module" was last tested on ZC 1.3.8 - so whether it is compatible with 1.5 is questionable.

    HOW did you do these edits? Did you backup the original core files mentioned in the instructions?

    Are you putting the full URL path into the image field?

    This is not a recommended way of handling images in your website. Ask your "supplier" to either make available their image repository (where you can download the images to your server), or put them onto a CD for you.

    Your supplier needs to be told that modern CMS platforms don't handle things this way anymore.
    20 years a Zencart User

  3. #3
    Join Date
    Dec 2012
    Posts
    27
    Plugin Contributions
    0

    Default Re: Using external images

    Hi,

    I did backup all my files before doing the core edits, I used the plugin external image tool for zen cart and followed instructions.

    I could probably download all the images but won't this slow my sight down and take longer to load?

    Thanks

  4. #4
    Join Date
    Jan 2012
    Posts
    488
    Plugin Contributions
    0

    Default Re: Using external images

    Quote Originally Posted by IAINMCG View Post
    Hi,

    I did backup all my files before doing the core edits, I used the plugin external image tool for zen cart and followed instructions.

    I could probably download all the images but won't this slow my sight down and take longer to load?

    Thanks
    It will actually be faster, as you won't be dependent on yet another web server serving up the images.

    The only time it ~may~ help would be if you use a CDN type network, cloudfront, cloudflare, akamai, etc but you would still want to host the images.

  5. #5
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Using external images

    Quote Originally Posted by Limitless View Post
    It will actually be faster, as you won't be dependent on yet another web server serving up the images.

    The only time it ~may~ help would be if you use a CDN type network, cloudfront, cloudflare, akamai, etc but you would still want to host the images.
    The "path-to-image" is nothing more than a REFERENCE in the database, RELATIVE to the CORE PATH defined for a resource's LOCATION.

    For "external" images, what you are having to do is OVER-RIDE core behaviour, with CUSTOM behaviour.

    CORE behaviour assumes that product images are going to reside in the images folder (or possibly a SUB-folder in the images folder).

    The PATH to this folder is established in the configure.php file, and CORE behaviour states that it is whatever-folder-name in the DIR_WS_IMAGES define statement.

    Now... once you have made all the edits to the CORE FILES that use "DIR_WS_IMAGES" as the key referencing point for INTERNAL images, you are going to have to MANUALLY ADD the URL to the path for every product image you add.

    So... what you need to do is this.

    When you ADD a product in your admin console (admin>>>catalog>categories/products>>> add a product), when you get to the part which asks you to add an image, you need to TYPE INTO the field that says:-
    Or, select an existing image file from server, filename:
    domain.com/images/image1.jpg

    WHERE:
    domain.com (is the domain of your supplier... do not enter "http://")
    /images (is the DIRECTORY on their server where the images live)
    /image1.jpg (is the name of the image for the product in question)
    20 years a Zencart User

  6. #6
    Join Date
    Dec 2012
    Posts
    27
    Plugin Contributions
    0

    Default Re: Using external images

    Hi schoolboy, tried that but image still tries to et image from location mydomain.com/images/domains want.com/images/image1.jpg

    Can u help, I'm so frustrated lol

 

 

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. Using banners on external site
    By odessey1 in forum Basic Configuration
    Replies: 6
    Last Post: 6 Jan 2010, 09:00 PM
  3. Using external email newsletter system
    By mtndan in forum General Questions
    Replies: 10
    Last Post: 20 Sep 2009, 03:23 AM
  4. Using external IP address to host site
    By Meshach in forum General Questions
    Replies: 1
    Last Post: 2 Jun 2009, 11:48 PM
  5. Using external http: links for main product images?
    By smoke133 in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 17 Feb 2009, 08:17 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