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? Oct 14, 2020 at 13:43
  • I want to get this into my phtml file. Want to display on some custom page
    – Nafsss
    Oct 15, 2020 at 10:06

1 Answer 1


To get Category Image url:

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

And use it in <img> tag like

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

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.