Problem: Multiple product images in product list, front end, not showing

Started by mano8020, December 19, 2011, 15:37:35 PM

Previous topic - Next topic

mano8020

Hello,

I am using Joomla 1.7.3 and VM 2.0.0 RC3.
I just upgraded from VM 1.9.8 RC2 M.

We want to show 2 images for every product on the front end.
So I edited "components/com_virtuemart/views/category/tmpl/default.php".

It worked fine in the previous version, but now I only get the first image (images[0]->file_url_thumb),
the second is empty (images[1]->file_url_thumb).

What changed?
How can I get all the images for a product?





mano8020

I used "Reset all tables and do a fresh install" and replaced all the files with the files from the version 2.0.0. installer.
But still images[1]->file_url_thumb is empty where images[0]->file_url_thumb returns the proper url.

Please help, Anyone?????

Studio 42

in view.html.php line 129
YOu can set
    $productModel->addImages($products,1);

1 is the number of images

    $productModel->addImages($products,2);

give you the first 2 images

for unlimited images

    $productModel->addImages($products);