# Imagem do banner da categoria demora para carregar

**URL:** <https://meta.discourse.org/t/category-banner-image-slow-to-load/270755>\
**Category:** Product Support\
**Tags:** category-banners\
**Created:** [21 Fevereiro , 2023 13:22 UTC](https://meta.discourse.org/t/category-banner-image-slow-to-load/270755 "2023-02-21T13:22:40Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)\
**Post date:** [9 Julho , 2023 18:52 UTC](https://meta.discourse.org/t/category-banner-image-slow-to-load/270755/4 "2023-07-09T18:52:24Z")

</div>

> [@NoamH](#):
>
> Usei este CSS, mas as imagens levam 3 segundos para carregar (o tamanho da imagem é 240k)  
> Alguma sugestão?

hmmm 🤔

você já tentou carregar a imagem como um recurso, fazendo upload para um tema (ou componente de tema) e usando uma variável como esta?

```scss
.category-title-header {
  &.category-banner-example-category {
        background: url($example);
  }
}

```

---

_[View the full topic](https://meta.discourse.org/t/category-banner-image-slow-to-load/270755)._
