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?

2 REPLIES 2

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

If issue solved, Click Kudos & Accept as Solution.
LitCommerce - The Most Simple & Affordable Multi-channel Selling Tool

Re: Featured Images Are Not Displayed In Magento 2 Blog