Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email

Magento Forum

How to get product image in callouts/right_col.phtml
Total Posts:  624
Joined:  2009-03-21

Hi. I have this code in callouts/right_col.phtml

$myproducts=$cat->getProductCollection()->setOrder(’name’, ‘asc’);
foreach($myproducts as $_pro){
$addtocart = Mage::getUrl(’checkout/cart/add’, array(’product’=>$_product->getID()));
<? echo Mage::helper('catalog/image')->init($_product, 'thumbnail')->resize(135, 135); ?>

I get somthing like this


But on my shop urls looks like:


I cant solve this problem/ Community plz help me :(

Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top