Do you know if this will work if i load my product using easy populate?
Thanks lexxie
Do you know if this will work if i load my product using easy populate?
Thanks lexxie
For the record, I just implemented micmed's code from his contribution page on the wiki and it worked perfectly (thanks). There are a few places where it isn't clear what to remove from the original code at first but just comment out anything in the original code that looks mostly the same as the code provided.
It should work fine with EP as long as your image field in your txt file contains the full path to the image (http://www.example.com/image.jpg). You may also need to increase the limit on your db field for products > products_image as mentioned above.
Of course I went mad with power. Have you ever tried going mad without power? It's boring. No one listens to you.
sorry for the stupid question....but I need to know how to find the path you mention above. I notice there are several "image" folders....in admin, in english, in my STORE's name. Question:
I do a manual upload to froogle (at their site), NOT using any zen cart mod. just want a STATIC unchanging url for each image. What folder should I upload my product images to?
Thank you in advance![]()
Any image located on your server will have a static URL, as the images are not moving from folder to folder.
Product images should generally go in the base /images/ folder or one of its subfolders.
Hi Glenn~
THANK YOU for caring enough to answer. I'm not sure what you mean by "base". I have created a new folder (and named it LRG), in the images folder located in my store's folder. Is it ok to upload my product images to where I have which is:
store/images/LRG/image01.jpg
Thank you so much...from thisto this
![]()
That's the base /images/ folder, directly in your store's folder.
Using a folder named /LRG/ to hold product images is probably not the best idea, as "large" images are to be placed in the /images/large/ folder as versions of the "small" basic images in the /images/ folder. If you want a set of images that are specifically for off-site use, name the folder /froogle/ or something. If the images are the large versions of your regular product images, they should be in the /images/large/ folder and named with the _LRG suffix (like myimage_LRG.jpg, where the base image is myimage.jpg).
You might want to read up on image use in the tutorials before you do something that will cause grief down the road.
Hello!
All the pictures on my website is liked to the supplier (http://www.supplier.com/imagens/photo.jpg). But when i go online i am not able to see the pictures unless i do a right click on the picture and choose to "view image". If i do that for one all the rest will show too.
I tested on IE, FF and Safari and happen the samething.
I changed the DIR_WS_IMAGES path
Do you have any idea what can i do?
Thank you in advance.
I checked on the following link in ehow:
http://www.ehow.com/how_8759326_modi...al-images.html
The explanation is pretty straightforward. Basically: replace every occasion of DIR_WS_IMAGES by DIR_EXT_HTTP.
If your local images have the full URL then they are found as well.
I want to use a subdomain (http://images.jewels-n-pearls.com).
Please correct me when I'm wrong: in that case using:
define('DIR_EXT_HTTP', 'http://images.jewels-n-pearls.com/'); would work?
I have had to piece this together from several posts so for the benefit of those searching, here it is in full. This method is assuming a fresh install. Works like a charm. (Video Tutorial on you-tube. Search external images Zen Cart) Do not use this method on a secure installation as you will get errors from the images.
Step 1
Find: DIR_WS_IMAGES and replace with: DIR_EXT_HTTP in every file of your zencart distribution and any template.
Now upload and run your install
Step 2
Line 29 on /includes/configure.php reads
define('DIR_EXT_HTTP', 'images/');
Change this to:
define('DIR_EXT_HTTP', '');
Note the page here doesn't show well so just remove images/ only from that line leaving ' ' intact.
Step 3
Open /includes/functions/html_output.php and replace what is there (and looks a lot like this) with this new code probably found at line 166-170
// use old method on template images by rl: test for http if (strstr($src, 'includes/templates') or strstr($src, 'includes/languages') or PROPORTIONAL_IMAGES_STATUS == '0' or strstr($src, 'http') != '0' ) { return zen_image_OLD($src, $alt, $width, $height, $parameters); }
Step 4
Insert the following code into: Admin CP> Tools> Install SQL Patches.
ALTER TABLE `products` CHANGE `products_image` `products_image` VARCHAR( 150 ) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL;
Your zen Cart will now display external images. I have used this method to load thousands of products with hotlinked images since that is the only way the supplier will have it.