1

i am working a magento website which is running on magento 1.9.2.2.

while working on its optimization, on tools pingdom i found a issue that page loads two images for a product i.e. small image and thumbnail image which ultimaltely leads to more http requests

can please anyone guide how do i let website to load 1 image per product.

screenshot attached. enter image description here

4
  • Product view page? Product list page? May 14, 2018 at 8:26
  • Product list page. May 14, 2018 at 13:02
  • Check your theme's configuration, as this is probably some customization to show an alternative image or something like that May 14, 2018 at 13:19
  • i checked the same and turned off the second image also refereshed the cache but still this issue exists. May 14, 2018 at 19:31

1 Answer 1

1

Check which template in your project is being used for catalog/product_list blocks. Typically it would be...

app/design/frontend/XXX/XXX/template/catalog/product/list.phtml

However, if you are using a customized theme (or maybe some extension) it would be surely overriden. You can validate all blocks & templates in all frontend pages using Block Hint feature: How do I enable Template Path and Block Name hints

Once you have located the template, you'd analyze the code & find where (and why) the duplicate image is being loaded. Remove or comment that code

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.