# images in recent posts module

**URL:** <https://community.hubspot.com/t/images-in-recent-posts-module/9002>\
**Category:** CMS Development\
**Created:** [May 29, 2018, 3:56pm UTC](https://community.hubspot.com/t/images-in-recent-posts-module/9002 "2018-05-29T15:56:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Janette](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/janette/32/2490_2.png) [@Janette](https://community.hubspot.com/u/Janette)\
**Post date:** [May 29, 2018, 3:56pm UTC](https://community.hubspot.com/t/images-in-recent-posts-module/9002/1 "2018-05-29T15:56:28Z")

</div>

Hi Good Day!!

I have my page of Blog ann this a I have a side-bar with recent posts and I would like to in this module appear an image of each recent post show in this module.:

It is possible? How can I do that?

---

<div class="post-metadata">

**Author:** ![Stephanie-OG](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/stephanie-og/32/73267_2.png) [@Stephanie-OG](https://community.hubspot.com/u/Stephanie-OG)\
**Post date:** [May 29, 2018, 7:41pm UTC](https://community.hubspot.com/t/images-in-recent-posts-module/9002/2 "2018-05-29T19:41:43Z")

</div>

Hi Janette, I believe that the Recent Posts module only allows limited customization and I can’t seem to see a way to display just the image, but you could use a custom module with HubL to specify exactly what you want to add. [This link](https://designers.hubspot.com/en/docs/hubl/hubl-supported-functions#blog-recent-posts) has more on blog\_recent\_posts.

Something like:

```auto
{{ blog_recent_posts('default', 5) }}
{% set rec_posts = blog_recent_posts('default', 5) %}
{% for rec_post in rec_posts %}
 <div class="post-featured-image">{{ rec_post.featured_image }}</div>{% endfor %}

```

You can style it by styling class

`post-featured-image`

---

<div class="post-metadata">

**Author:** ![Janette](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/janette/32/2490_2.png) [@Janette](https://community.hubspot.com/u/Janette)\
**Post date:** [May 30, 2018, 5:50pm UTC](https://community.hubspot.com/t/images-in-recent-posts-module/9002/3 "2018-05-30T17:50:29Z")

</div>

Hi @Stephanie-OG

Thanks for the information.

Regards
