Hi there. I’m trying to install your layered navigation into our storefront. It doesn’t seem to be creating the correct src attributes for product images at the moment. I have no product images displaying whatsoever
Please help!
-
Hi Mall It appears the product list item template looks for image files in something simillar to http://www.thedomain.co.uk/pub/media/catalog/product/cache/1/small_image/240x300/beff4985b56e3afdbeabfc89641a4582/1/2/1205_vernier_caliper_5.jpgthe problem appears to be the "240x300" part of the url.... my install is generating images 152x190.Do I need to specify the new image size somewhere in the magento xml config? We're not using an ubertheme theme, we've developed directly on top of the luma theme.Thanks Ben
4 answers
Hi benconvey,
Hi Mall It appears the product list item template looks for image files in something simillar to http://www.thedomain.co.uk/pub/media/catalog/product/cache/1/small_image/240×300/beff4985b56e3afdbeabfc89641a4582/1/2/1205_vernier_caliper_5.jpgthe problem appears to be the “240×300” part of the url…. my install is generating images 152×190.Do I need to specify the new image size somewhere in the magento xml config? We’re not using an ubertheme theme, we’ve developed directly on top of the luma theme.Thanks Ben
Please try run bellow command in your Terminal:
php -f bin/magento catalog:images:resize
And clean the Magento cache.
And tell me know how about your issue after you done.
Regards,
Mall.
Thanks Mall, that seems to have resolved the issue