php - Unable to display product images in magento frontend -
i wrote small module filter custom products , display on frontend. i'm getting success in displaying products magento unable load our product images. when refresh page success getting few images. here url consideration: https://bombaytrooper.com/magic-search?design=+hungry+gym+gaming&gender=63
here code product attributes
$collection = mage::getmodel('catalog/product')->getcollection(); $collection->addattributetoselect('image'); $collection->addattributetoselect('small_image'); $collection->addattributetoselect('thumbnail'); $collection->addattributetoselect('product_url'); $collection->addattributetoselect('id'); $collection->addattributetoselect('name'); $collection->addattributetoselect('pricehtml'); $collection->addattributetoselect('short_description'); $collection->addattributetoselect('review_summary_html'); $collection->addattributetoselect('add_to_cart_url'); $collection->addattributetoselect('add_url');
is there wrong script or wrong magento's cache? there way product images?
thank in advance.
images loading fine me @ linked url. perhaps need clear browser cache.
Comments
Post a Comment