cancel
Showing results for 
Search instead for 
Did you mean: 

Featured Images Are Not Displayed In Magento 2 Blog

Featured Images Are Not Displayed In Magento 2 Blog

I am using Magento 2 Blog extension with attached featured images to a blog post but these images are not displayed on the storefront.

 

How to check issue?

1 REPLY 1

Re: Featured Images Are Not Displayed In Magento 2 Blog

1. Open this file if exists (if does not exist skip steps 2-3):

/app/design/frontend/[ThemeVendor]/[themename]/Magefan_Blog/templates/post/list/item.phtml

 

2. Check if the file has the code like "getFeaturedImage". You can find the original code here

https://github.com/magefan/module-blog/blob/master/view/frontend/templates/post/list/item.phtml

 

3. If this code is missing, add it to your custom theme file.

4. Open this file if exists (if does not exist skip steps 5-6):

/app/design/frontend/[ThemeVendor]/[themename]/Magefan_Blog/templates/post/view.phtml

 

5. Check if it has the code like "getFeaturedImage", you can find the original code here

https://github.com/magefan/module-blog/blob/master/view/frontend/templates/post/list/item.phtml

LitCommerce - The Most Simple & Affordable Multi-channel Selling Tool

LitCommerce is the most simple and affordable multi-channel selling tool developed by LitExtension team. This tool allows merchants to easily list and sell their products on the world’s top marketplaces and manage everything from one dashboard.

Visit website: https://litcommerce.com/