# How to show blog post featured image using 'content\_by\_id' because it show only 'Post Title', 'Post

**URL:** <https://community.hubspot.com/t/how-to-show-blog-post-featured-image-using-content-by-id-because-it-show-only-post-title-post/104322>\
**Category:** CMS Development\
**Tags:** templates, content\
**Created:** [April 8, 2024, 9:24am UTC](https://community.hubspot.com/t/how-to-show-blog-post-featured-image-using-content-by-id-because-it-show-only-post-title-post/104322 "2024-04-08T09:24:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Priyanka178](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/priyanka178/32/68277_2.png) [@Priyanka178](https://community.hubspot.com/u/Priyanka178)\
**Post date:** [April 8, 2024, 9:24am UTC](https://community.hubspot.com/t/how-to-show-blog-post-featured-image-using-content-by-id-because-it-show-only-post-title-post/104322/1 "2024-04-08T09:24:45Z")

</div>

**How to show blog post featured image using ‘content\_by\_id’**

**because it show only ‘Post Title’, 'Post Url ’ But not give featured Image**

**Or**

**How to bind blog post featured image using module field ‘page’  
Blow are my code:  
\<div class=“artical-block large”\>  
\<span class=“img-block”\>  
\<img src=“{{ content\_by\_id(module.big\_image\_featured\_blog.choose\_featured\_blog).featured\_image }}” alt=“{{ content\_by\_id(module.big\_image\_featured\_blog.choose\_featured\_blog).featured\_image\_alt\_text }}”\>  
\</span\>  
\<div class=“content”\>  
\<span class=“date”\>{{content\_by\_id(module.big\_image\_featured\_blog.choose\_featured\_blog).publish\_date|datetimeformat(‘%A, %B %d, %Y’)}}\</span\>  
\<h3\>\<a href=“{{ content\_by\_id(module.big\_image\_featured\_blog.choose\_featured\_blog).absolute\_url }}”\>{{ content\_by\_id(module.big\_image\_featured\_blog.choose\_featured\_blog).title }}\</a\>\</h3\>  
\</div\>  
\</div\>**

---

<div class="post-metadata">

**Author:** ![Berangere](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/berangere/32/220784_2.png) [@Berangere](https://community.hubspot.com/u/Berangere)\
**Post date:** [April 8, 2024, 3:00pm UTC](https://community.hubspot.com/t/how-to-show-blog-post-featured-image-using-content-by-id-because-it-show-only-post-title-post/104322/2 "2024-04-08T15:00:39Z")

</div>

Hi @Priyanka178, I hope that you are well!  
Thanks for reaching out to the Community!  
I found similar threads that might help you:  
- [Featured post in HubSpot blog](https://community.hubspot.com/t5/CMS-Development/Featured-post-in-HubSpot-blog/m-p/765888)  
- [Pulling a featured image through to in a menu from a page (not blog post)](https://community.hubspot.com/t5/CMS-Development/Pulling-a-featured-image-through-to-in-a-menu-from-a-page-not/m-p/609094)  
I also wanted to invite a couple of subject matter experts to this conversation: Hi @Stephanie-OG, @FabianRichter and @miljkovicmisa do you have suggestions to help @Priyanka178, please?  
Also, if anybody else has anything to add and/or share, please feel free to join in the conversation 🙂  
Thank you so much and have a brilliant day!  
Best,  
Bérangère
