# How to stop resizing “hero” image on posts?

**URL:** <https://forum.ghost.org/t/how-to-stop-resizing-hero-image-on-posts/54970>\
**Category:** Themes\
**Created:** [February 4, 2025, 3:52am UTC](https://forum.ghost.org/t/how-to-stop-resizing-hero-image-on-posts/54970 "2025-02-04T03:52:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![boycottseattle.xyz](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/boycottseattle.xyz/32/17854_2.png) [@boycottseattle.xyz](https://forum.ghost.org/u/boycottseattle.xyz)\
**Post date:** [February 4, 2025, 3:52am UTC](https://forum.ghost.org/t/how-to-stop-resizing-hero-image-on-posts/54970/1 "2025-02-04T03:52:13Z")

</div>

I’m guessing there’s a in config.production.json I can flag to do this.

```auto
"imageOptimization": {
  "resize": false
}

```

This doesn’t work for post cover images, only images in the post. In case you’re wondering why I want to do this, it has to do with JPEG HDR gain maps which are lost when resizing/compressing.

Any thoughts / help?

I’m using the new solo theme or Casper theme.

---

<div class="post-metadata">

**Author:** ![muratcorlu](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/muratcorlu/32/38509_2.png) [@muratcorlu](https://forum.ghost.org/u/muratcorlu)\
**Post date:** [February 4, 2025, 9:09am UTC](https://forum.ghost.org/t/how-to-stop-resizing-hero-image-on-posts/54970/2 "2025-02-04T09:09:39Z")

</div>

I don’t see any other options than editing the themes to use original images in those areas instead of `img_url` helpers. Remove all those responsive image urls from [Solo/partials/feature-image.hbs at main · TryGhost/Solo · GitHub](https://github.com/TryGhost/Solo/blob/main/partials/feature-image.hbs) and just use `<img src="{{ feature_image}}" alt="{{title}}">`. That should work.

---

<div class="post-metadata">

**Author:** ![boycottseattle.xyz](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/boycottseattle.xyz/32/17854_2.png) [@boycottseattle.xyz](https://forum.ghost.org/u/boycottseattle.xyz)\
**Post date:** [February 4, 2025, 3:26pm UTC](https://forum.ghost.org/t/how-to-stop-resizing-hero-image-on-posts/54970/3 "2025-02-04T15:26:53Z")

</div>

I’ll try it out. Thanks!
