Additional Images does not show on product page
Ok, I have searched and tried almost everything on this forum I can find....
Link to the product i am testing:
http://black-tactical.com/store/bags...e-platform-p-8
I confirm it is not a naming / folder problem cos with image handler 2 it shows the additional images fine:
http://i42.tinypic.com/2qd9846.jpg
Its not a template problem cos when i try the default classic green template, the images still do not show :(
I view the source code for that page the:
<!--bof Additional Product Images -->
<!--eof Additional Product Images -->
Its empty????
Help much appreciated.
Re: Additional Images does not show on product page
I cant find the thread on this, but I had a similar issue...
As you are using Image Handler you may be able to "cure" it.
I fixed it by doing this:
There is a file called: includes/classes/bmz_image_handler.class.php
FTP this file to your local drive, make a backup, then open the file for editing.
Right at the bottom, you'll see this code:
PHP Code:
// we should parse old parameters here and possibly merge some inc case they're duplicate
$parameters .= ($parameters != '') ? ' ' : '';
return $parameters . 'style="position:relative" onmouseover="showtrail(' . "'$products_image_zoom','$alt',$width,$height,$zoomwidth,$zoomheight,this," . $this->zoom['startx'].','.$this->zoom['starty'].','.$this->zoom['width'].','.$this->zoom['height'].');" onmouseout="hidetrail();" ';
}
}
}
}
COMMENT IT OUT, like this... (put double slashes in front of the lines.. eg: //
PHP Code:
// we should parse old parameters here and possibly merge some inc case they're duplicate
// $parameters .= ($parameters != '') ? ' ' : '';
// return $parameters . 'style="position:relative" onmouseover="showtrail(' . "'$products_image_zoom','$alt',$width,$height,$zoomwidth,$zoomheight,this," . $this->zoom['startx'].','.$this->zoom['starty'].','.$this->zoom['width'].','.$this->zoom['height'].');" onmouseout="hidetrail();" ';
// }
// }
// }
//
//
//}
Then, directly below that, paste THIS code...
PHP Code:
// we should parse old parameters here and possibly merge some inc case they're duplicate
$parameters .= ($parameters != '') ? ' ' : '';
if (!($_GET['main_page']==FILENAME_PRODUCT_INFO)) {
return $parameters . 'style="position:relative" onmouseover="showtrail(' . "'$products_image_zoom','$alt',$width,$height,$zoomwidth,$zoomheight,this," . $this->zoom['startx'].','.$this->zoom['starty'].','.$this->zoom['width'].','.$this->zoom['height'].');" onmouseout="hidetrail();" ';
} else {
return $parameters . 'style="position:relative" onmouseover="showtrail(' . "\'$products_image_zoom\',\'$alt\',$width,$height,$zoomwidth,$zoomheight,this," . $this->zoom['startx'].','.$this->zoom['starty'].','.$this->zoom['width'].','.$this->zoom['height'].');" onmouseout="hidetrail();" ';
}
}
}
}
}
Save the file, and FTP it back to its original location. Overwrite the file that's on the server (you have a backup on your hard drive).
See if this fixes your problem.
Re: Additional Images does not show on product page
Hi thanks for the quick reply, just tried what you recommended.
It did nothing :(
Re: Additional Images does not show on product page
What are your settings for:
Admin->Configuration->Images->Product Info - Number of Additional Images per Row ???
... and... are you storing your additional images in the main images folder?
(With IH2, you put ALL your images in the main folder (main image AND additional images) - dont use MED or LRG folders or the associated suffixes)
Re: Additional Images does not show on product page
Admin->Configuration->Images->Product Info - Number of Additional Images per Row = Default 3
Quote:
... and... are you storing your additional images in the main images folder?
Yup i tried that too did not work,
I tried changing format from jpg to gif - no use
I ensured all extensions are same case - no use
ensured whole pic file name in low case - no use
ensured pic is not too big - no use
Re: Additional Images does not show on product page
anyone else experienced this before? :(
Re: Additional Images does not show on product page
What happens if you move back to CLASSIC template?
Re: Additional Images does not show on product page
Re: Additional Images does not show on product page
Here we go, I have never touched the default template before... thats why I dont believe its a template thing:
http://i43.tinypic.com/23wmmgx.jpg
Was wonder if there is an on / off switch somewhere or some sort of module that may be causing it :(
Re: Additional Images does not show on product page
If the problem is not with a template file, it has to then be another file... class, module... etc
What if you remove Image Handler completely? (you can put it back later).
I think the prob is IH2.
Are you sure you correctly applied the suggested fix posted earlier?