Show second product image in jmproductsslider

Hi, I need to show the second product image, instead of first, in jmproductsslider.

I need to modify list.phtml but no success. May you help me to modify this line of code to show second image, instead of first image.


<img src="<?php echo $this->helper(‘catalog/image’)->init($_product, ‘thumbnail’)->keepAspectRatio(TRUE)->resize($configs[‘width’], $configs[‘height’])->setWatermarkSize(’30×10′); ?>" alt="<?php echo $this->htmlEscape($_product->getName()) ?>"/>

2 answers

Profile photo of Saguaros 0.00 $tone September 11, 2012

Hi Kenderins,

Do you mean that you want to show image of second product?

You should have a look at code of this JM Product Slider extension located in \app\code\local\JoomlArt\JmProductsSlider\Block\Li st.php and make your own change.



Please login or Register to Submit Answer

Written By