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