Magento News
Images not showing on Magento Front Page
I can see all the images across other pages, just on the home page those thumbnails not appearing, that is the php code I have got and how I am calling them. Default images are showing without any problem. I have already tested many solutions from forums…etc
$_productCollection = Mage::getResourceModel(‘catalog/product_collection’)
->addAttributeToSelect(array(‘name’, ‘price’, ‘short_description’), ‘inner’)
->addCategoryFilter(Mage::getModel(‘catalog/category’)->load($cat_id));if($_productCollection->count()): ?>
Calling images:
<img src="<?php echo $this->helper('catalog/image')->init($_product, 'thumbnail')->resize(80, 110); ?>" height="105" />
Images not showing on Magento Front Page
Possibly Related Posts:
- Database query different results
- Menu highlight in magento under admin
- magento disable a banner on certain category pages or have a banner with multiple links
- Magento, using ACL for frontend. Possible?
- Magento IE-7 Fix In Windows XP
RSS Feed