# Image Block "High Priority" attribute not working in HTML API

**URL:** <https://forum.builder.io/t/image-block-high-priority-attribute-not-working-in-html-api/13762>\
**Category:** Bugs\
**Created:** [March 26, 2025, 10:30pm UTC](https://forum.builder.io/t/image-block-high-priority-attribute-not-working-in-html-api/13762 "2025-03-26T22:30:00Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jtcf](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@jtcf](https://forum.builder.io/u/jtcf)\
**Post date:** [March 26, 2025, 10:30pm UTC](https://forum.builder.io/t/image-block-high-priority-attribute-not-working-in-html-api/13762/1 "2025-03-26T22:30:00Z")

</div>

**Builder content link**

> **[Builder.io: Visual Development Platform](https://builder.io/content/e09c37c9c23e48c8a855f733ac8738d2/edit?activeDesignerTab=3&selectedBlock=builder-4d9ac60417f3461495ec5cdbc88c88fa&activeLocale=Default)**
>
> Builder is the only Visual Development Platform that offers an AI-powered design-to-code tool, a visual editor and an enterprise CMS.

**Builder public api key**  
00663584d54b434c805dd33bfe872f95

**Detailed steps to reproduce the bug**  
curl [https://cdn.builder.io/api/v3/html/page/e09c37c9c23e48c8a855f733ac8738d2\?apiKey\=00663584d54b434c805dd33bfe872f95\&cachebust\=true](https://cdn.builder.io/api/v3/html/page/e09c37c9c23e48c8a855f733ac8738d2%5C?apiKey%5C=00663584d54b434c805dd33bfe872f95%5C&cachebust%5C=true)

```auto
<img role=\"presentation\" loading=\"lazy\" class=\"builder-image css-10fw3co\" src=\"https://cdn.builder.io/api/v1/image/assets%2F00663584d54b434c805dd33bfe872f95%2F3c51ff6f562e4c18962eef8dffbd375e?width=2000\" srcSet=\"https://cdn.builder.io/api/v1/image/assets%2F00663584d54b434c805dd33bfe872f95%2F3c51ff6f562e4c18962eef8dffbd375e?width=100 100w, https://cdn.builder.io/api/v1/image/assets%2F00663584d54b434c805dd33bfe872f95%2F3c51ff6f562e4c18962eef8dffbd375e?width=200 200w, https://cdn.builder.io/api/v1/image/assets%2F00663584d54b434c805dd33bfe872f95%2F3c51ff6f562e4c18962eef8dffbd375e?width=400 400w, https://cdn.builder.io/api/v1/image/assets%2F00663584d54b434c805dd33bfe872f95%2F3c51ff6f562e4c18962eef8dffbd375e?width=800 800w, https://cdn.builder.io/api/v1/image/assets%2F00663584d54b434c805dd33bfe872f95%2F3c51ff6f562e4c18962eef8dffbd375e?width=1200 1200w, https://cdn.builder.io/api/v1/image/assets%2F00663584d54b434c805dd33bfe872f95%2F3c51ff6f562e4c18962eef8dffbd375e?width=1600 1600w, https://cdn.builder.io/api/v1/image/assets%2F00663584d54b434c805dd33bfe872f95%2F3c51ff6f562e4c18962eef8dffbd375e?width=2000 2000w\" sizes=\"(max-width: 638px) 100vw, (max-width: 998px) 100vw, 143vw\"/>

```

Attribute loading=“lazy” is present instead of fetchpriority=“high” which is negatively impacting our FCP page speed score

---

<div class="post-metadata">

**Author:** ![manish-sharma](https://avatars.discourse-cdn.com/v4/letter/m/8797f3/32.png) [@manish-sharma](https://forum.builder.io/u/manish-sharma)\
**Post date:** [April 10, 2025, 12:54pm UTC](https://forum.builder.io/t/image-block-high-priority-attribute-not-working-in-html-api/13762/2 "2025-04-10T12:54:39Z")

</div>

Hello @jtcf,

We reviewed your content and noticed that most of your images are set using the **background-image** property.

If you use the **Builder Image Block** , there is an option to enable **High Priority** , which automatically adds `fetchpriority="high"` to the image attributes.

 ![Screenshot 2025-04-10 at 6.14.56 PM](https://us1.discourse-cdn.com/flex020/uploads/builder/original/2X/4/4cdc37c794ff96b55c22d57afc706edd31cf5898.jpeg)

 ![Screenshot 2025-04-10 at 6.15.28 PM](https://us1.discourse-cdn.com/flex020/uploads/builder/original/2X/7/7adaebfe0ac49c107f4196827a50076cbb5b60ff.jpeg)

For background images, adding `fetchpriority="high"` requires a custom JavaScript solution. You can refer to this forum post for guidance: [Add fetchpriority=“high” instead of lazy loading](https://forum.builder.io/t/add-etchpriority-high-instead-of-lazy-loading/2927/2).

Let us know if you need any further assistance!

Thanks,

---

<div class="post-metadata">

**Author:** ![lburtness](https://avatars.discourse-cdn.com/v4/letter/l/ecccb3/32.png) [@lburtness](https://forum.builder.io/u/lburtness)\
**Post date:** [April 15, 2025, 10:13pm UTC](https://forum.builder.io/t/image-block-high-priority-attribute-not-working-in-html-api/13762/3 "2025-04-15T22:13:31Z")

</div>

@manish-sharma I do not see the “High Priority” toggle under “Advanced Options” for Image blocks. Do I need to do something to enable? Thanks!

 ![Screenshot 2025-04-15 at 6.12.52 PM](https://us1.discourse-cdn.com/flex020/uploads/builder/original/2X/1/1a7446215632b0c08ead2171d8d99b858296bdda.jpeg)

---

<div class="post-metadata">

**Author:** ![alexander](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.builder.io/alexander/32/4948_2.png) [@alexander](https://forum.builder.io/u/alexander)\
**Post date:** [April 17, 2025, 2:47pm UTC](https://forum.builder.io/t/image-block-high-priority-attribute-not-working-in-html-api/13762/4 "2025-04-17T14:47:12Z")

</div>

Hi Iburtness,

I’m seeing the High Priority toggle on the image blocks on the page you initially linked, but this looks like a different page. Could you share the content link for this one as well?

---

<div class="post-metadata">

**Author:** ![lburtness](https://avatars.discourse-cdn.com/v4/letter/l/ecccb3/32.png) [@lburtness](https://forum.builder.io/u/lburtness)\
**Post date:** [April 17, 2025, 3:23pm UTC](https://forum.builder.io/t/image-block-high-priority-attribute-not-working-in-html-api/13762/5 "2025-04-17T15:23:41Z")

</div>

Hi [alexander](https://forum.builder.io/u/alexander),

I’m not the OP so it’s a different content space. Here is the page I’m testing on [Builder.io: Visual Development Platform](https://builder.io/content/6f3ca67b34394c7eba294855645624f4/edit?activeDesignerTab=1&activeLocale=Default)

---

<div class="post-metadata">

**Author:** ![alexander](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.builder.io/alexander/32/4948_2.png) [@alexander](https://forum.builder.io/u/alexander)\
**Post date:** [April 18, 2025, 12:35am UTC](https://forum.builder.io/t/image-block-high-priority-attribute-not-working-in-html-api/13762/6 "2025-04-18T00:35:01Z")

</div>

😅 whoops

Thanks for the link. It looks like you’re on an old version of our react SDK, likely from before the High Priority option was addeed. You can see updates to our gen 1 SDK here: [@builder.io/react - npm](https://www.npmjs.com/package/@builder.io/react)

Could you try upgrading to a more recent version?

---

<div class="post-metadata">

**Author:** ![lburtness](https://avatars.discourse-cdn.com/v4/letter/l/ecccb3/32.png) [@lburtness](https://forum.builder.io/u/lburtness)\
**Post date:** [July 15, 2025, 7:27pm UTC](https://forum.builder.io/t/image-block-high-priority-attribute-not-working-in-html-api/13762/7 "2025-07-15T19:27:28Z")

</div>

I upgraded our Builder React SDK version and now see the High Priority toggle for Image blocks. Thanks!
