Results 1 to 10 of 18

Hybrid View

  1. #1
    Join Date
    Aug 2012
    Posts
    45
    Plugin Contributions
    0

    Default Re: external product images

    Quote Originally Posted by DivaVocals View Post
    Dunno since you didn't share all the details of this "supposed way" so a intelligent answer could be given..
    the method was posted by stevesh which I tryed and it did not work and actually messed up my images now I need a fix.

  2. #2
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: external product images

    Quote Originally Posted by chattunnel View Post
    the method was posted by stevesh which I tryed and it did not work and actually messed up my images now I need a fix.
    Well it helps to post more details than what you have posted thus far.. "did not work" and "messed up my images" doesn't provided nearly enough information for anyone to give you any kind of help.. Describe what "did not work" and "messed up my images" means.. Post a link to your site to the specific URL so we can SEE what you see.. Post any on-screen error messages you are getting. Are you getting blank pages?? What error logs are you seeing?? (blank pages=error logs)

    Details.. details.. details..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  3. #3
    Join Date
    Aug 2012
    Posts
    45
    Plugin Contributions
    0

    Default Re: external product images

    The URL to the site is: http://usacustomers.com/index.php?ma...&products_id=4

    Error: Product Image only loads when, you click for the popup on product page and in the new products sidebox, other then that all pages won't load the product images.

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: external product images

    Stevesh is experienced enough that I don't believe he would post a method that he didn't know to work correctly, *when performed correctly*. So the question is, what step did you miss/mess up, or how is your situation different to make his method not work? Linking to the original instructions would be helpful.

  5. #5
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: external product images

    I pointed the OP to this:

    http://www.zen-cart.com/downloads.php?do=file&id=1077

    As I mentioned, I don't know if it works with later Zencart versions. I haven't tested it.

    [Edit] I haven't used the mod, but I doubt very much if the image path is supposed to look like this:

    <img src="DIR_WS_HTTParabbagreysilver (1).JPG"

    so I would guess you didn't follow the directions exactly, or the mod doesn't work with your Zencart version.
    Last edited by stevesh; 21 May 2014 at 06:41 PM.

  6. #6
    Join Date
    Aug 2012
    Posts
    45
    Plugin Contributions
    0

    Default Re: external product images

    the only changes I made through stevesh method was to "In all of these files found DIR_WS_IMAGES and replace with DIR_EXT_HTTP" well I did it and reversed it after it didnt work but I think I missed a file.

  7. #7
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: external product images

    Quote Originally Posted by chattunnel View Post
    the only changes I made through stevesh method was to "In all of these files found DIR_WS_IMAGES and replace with DIR_EXT_HTTP" well I did it and reversed it after it didnt work but I think I missed a file.
    So let me get this straight.. there are THREE steps to the method stevesh posted a link to.. Am I misreading what you posted here.. Are you telling us that you only did STEP THREE and expected that it would work without following Step ONE and Step TWO or the "Module Use" section????????

    If this is the case, I'm not surprised you got the result you are reporting.. Suggest following ALL the steps.. and then reporting your result if you have issues after that.. Melanie is a Zen Cart VET, and I'm pretty sure that if you follow ALL of her steps, you will get the right result..

    For the edification of everyone following this, I am posting Melanie's instructions.. I assume we all understand that Step Two implies that you will be putting in something like "http://yourdomain.com/images"

    Installation
    ============
    Step 1: Increase Data Image Field Characters:

    In your Zen Cart admin, run the following SQL patch AFTER backing up your database.

    ALTER TABLE `products` CHANGE `products_image` `products_image` VARCHAR( 150 ) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL;

    Step 2:

    Open includes/configure.php

    On line 36 after this

    define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');

    Add

    // PRO-Webs Use External Images
    define('DIR_EXT_HTTP', 'http://');

    Step 3:

    In all of these files find DIR_WS_IMAGES and replace with DIR_EXT_HTTP

    includes/functions/functions_lookups.php
    includes/modules/additional_images.php
    includes/modules/also_purchased_products.php
    includes/modules/attributes.php(Optional! Hand edit for attribute images)
    includes/modules/featured_products.php
    includes/modules/main_product_image.php
    includes/modules/new_products.php
    includes/modules/pages/popup_image/header_php.php
    includes/modules/pages/shopping_cart/header_php.php
    includes/modules/pages/specials/main_template_vars.php
    includes/modules/product_listing.php
    includes/modules/specials_index.php
    includes/templates/your_template/popup_image_additional/tpl_main_page.php
    includes/templates/template_default/sideboxes/tpl_featured.php
    includes/templates/template_default/sideboxes/tpl_reviews_random.php
    includes/templates/template_default/sideboxes/tpl_whats_new.php
    includes/templates/template_default/templates/tpl_modules_products_all_listing.php
    includes/templates/template_default/templates/tpl_modules_products_featured_listing.php
    includes/templates/template_default/templates/tpl_modules_products_new_listing.php
    includes/templates/template_default/templates/tpl_reviews_default.php

    Module Use
    ==========
    This module will now expect you to add a filename path for your product images.
    In your product data entry you will add images in the
    "Or, select an existing image file from server, filename:" field. These images
    will contain the full path to the image, less the http://.

    For example: domain.com/images/1254785.jpg

    Note that this module does not disallow the use of your own images, but they
    now need to be added in the same manner.

    For example: your_domain.com/images/1254785.jpg

    The image uploader, while unharmed will no longer add a properly formatted
    image reference for your products.
    Last edited by DivaVocals; 22 May 2014 at 01:38 AM.
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  8. #8
    Join Date
    Aug 2012
    Posts
    45
    Plugin Contributions
    0

    Default Re: external product images

    Quote Originally Posted by stevesh View Post
    I pointed the OP to this:

    http://www.zen-cart.com/downloads.php?do=file&id=1077

    As I mentioned, I don't know if it works with later Zencart versions. I haven't tested it.

    [Edit] I haven't used the mod, but I doubt very much if the image path is supposed to look like this:

    <img src="DIR_WS_HTTParabbagreysilver (1).JPG"

    so I would guess you didn't follow the directions exactly, or the mod doesn't work with your Zencart version.
    what file is this taking place in? I will change it back to DIR_WS_IMAGES

 

 

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