New Zenner
- Join Date:
- Sep 2008
- Posts:
- 100
- Plugin Contributions:
- 0
no no_picture.gif
Hi All
I can't seem to make the no_picture.gif appear.
Product Image - No Image Status = 1
Product Image = no_picture.gif
Image Required = True
The no_picture.gif image is stored
catalog/includes/templates/mytemplate/images/
I uploaded my products with easy populate and in some cases have image names but no image. I read that the fix for this is to add the line in blue below to html_output:
//auto replace with defined missing image
if ($src == DIR_WS_IMAGES and PRODUCTS_IMAGE_NO_IMAGE_STATUS == '1') {
$src = DIR_WS_IMAGES . PRODUCTS_IMAGE_NO_IMAGE;
}
if (!file_exists($src)) {
$src = DIR_WS_IMAGES . PRODUCTS_IMAGE_NO_IMAGE;
}
if ( (empty($src) || ($src == DIR_WS_IMAGES)) && (IMAGE_REQUIRED == 'false') ) {
return false;
}
// if not in current template switch to template_default
if (!file_exists($src)) {
$src = str_replace(DIR_WS_TEMPLATES . $template_dir, DIR_WS_TEMPLATES . 'template_default', $src);
}
...and still, no no_picture.gif
Any suggestions?
: ), Steve