2

Can any body tell me how can we get The Category thumbnail image url and Icon image url to display image on frontend in magento 2.3.2

  • On where you want to fetch this images? – Dhiren Vasoya Oct 14 at 13:43
  • I want to get this into my phtml file. Want to display on some custom page – Nafsss Oct 15 at 10:06
1

To get Category Image url:

<?php echo $category->getImageUrl(); ?>

And use it in <img> tag like

<img src="<?php  echo $category->getImageUrl(); ?>" />
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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