# Featured post image size Casper 3 theme

**URL:** <https://forum.ghost.org/t/featured-post-image-size-casper-3-theme/10894>\
**Category:** Themes\
**Created:** [December 19, 2019, 11:03am UTC](https://forum.ghost.org/t/featured-post-image-size-casper-3-theme/10894 "2019-12-19T11:03:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nolo](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/nolo/32/5539_2.png) [@nolo](https://forum.ghost.org/u/nolo)\
**Post date:** [December 19, 2019, 11:03am UTC](https://forum.ghost.org/t/featured-post-image-size-casper-3-theme/10894/1 "2019-12-19T11:03:05Z")

</div>

Hello everybody!

I have an issue with dynamics images in Casper theme. Post featured image by default are so big. When I customize post.hbs from this:

```
  <img class="post-image"
    srcset="{{img_url feature_image size="s"}} 300w,
            {{img_url feature_image size="m"}} 600w,
            {{img_url feature_image size="l"}} 1000w,
            {{img_url feature_image size="xl"}} 2000w"
    sizes="(max-width: 1000px) 400px, 700px"
    src="{{img_url feature_image size="xl"}}"
    alt="{{title}}"
/>

```

To this:

```
<img class="post-image"
            srcset="{{img_url feature_image size="s"}} 300w,
                    {{img_url feature_image size="m"}} 600w,
                    {{img_url feature_image size="l"}} 1000w,
                    {{img_url feature_image size="xl"}} 2000w"
            sizes="(max-width: 1000px) 400px, 700px"
            src="{{img_url feature_image size="m"}}"
            alt="{{title}}"
        />

```

Nothing happens. I’m thinking maybe dynamic images is not working in my ghost installation or maybe is wrong code in post.hbs?

In other hand, there is a recommended image defat sizes?? for example featured images form tags.hbs not appear full size.

Thanks in advance 😃

---

<div class="post-metadata">

**Author:** ![chappie](https://avatars.discourse-cdn.com/v4/letter/c/3be4f8/32.png) [@chappie](https://forum.ghost.org/u/chappie)\
**Post date:** [October 23, 2020, 6:54am UTC](https://forum.ghost.org/t/featured-post-image-size-casper-3-theme/10894/2 "2020-10-23T06:54:21Z")

</div>

Could you not fix this issue with CSS Code injection for the site?
