# Featured Image is creating LCP issue

**URL:** <https://community.hubspot.com/t/featured-image-is-creating-lcp-issue/108852>\
**Category:** CMS Development\
**Created:** [June 6, 2024, 5:43pm UTC](https://community.hubspot.com/t/featured-image-is-creating-lcp-issue/108852 "2024-06-06T17:43:40Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Anton](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/anton/32/103167_2.png) [@Anton](https://community.hubspot.com/u/Anton)\
**Post date:** [June 6, 2024, 8:03pm UTC](https://community.hubspot.com/t/featured-image-is-creating-lcp-issue/108852/2 "2024-06-06T20:03:51Z")

</div>

Hi @MDevTeam3,

you could try adding this script to your post template

```lia-code-sample
{% require_head %}
 <link rel="preload" as="image" href="{{ content.featured_image }}">
{% end_require_head %}

```

As for optimization: What’s the filesize of the image(s)?

If you haven’t already - [here’s the documentation](https://developers.hubspot.com/docs/cms/hubl/functions#require-js) about {% require\_js %} which might be benefitial

best,

Anton

---

_[View the full topic](https://community.hubspot.com/t/featured-image-is-creating-lcp-issue/108852)._
