# Featured images not showing on netlify but displayed in local

**URL:** <https://discourse.gohugo.io/t/featured-images-not-showing-on-netlify-but-displayed-in-local/37860>\
**Category:** support\
**Created:** [March 26, 2022, 6:24am UTC](https://discourse.gohugo.io/t/featured-images-not-showing-on-netlify-but-displayed-in-local/37860 "2022-03-26T06:24:10Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![OnigiriJack](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/onigirijack/32/16578_2.png) [@OnigiriJack](https://discourse.gohugo.io/u/OnigiriJack)\
**Post date:** [March 26, 2022, 6:24am UTC](https://discourse.gohugo.io/t/featured-images-not-showing-on-netlify-but-displayed-in-local/37860/1 "2022-03-26T06:24:10Z")

</div>

example `_index.md`

```auto
---
title: "Photos"
description: "Photo blogs and photo essays"
cascade:
   featured_image: "/images/DSCF0462.jpeg"

---

Welcome to my blog with some of my work in progress. I've been working on posting more street photos in Tokyo.

```

---

<div class="post-metadata">

**Author:** ![cshoredaniel](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/cshoredaniel/32/19684_2.png) [@cshoredaniel](https://discourse.gohugo.io/u/cshoredaniel)\
**Post date:** [March 26, 2022, 6:38am UTC](https://discourse.gohugo.io/t/featured-images-not-showing-on-netlify-but-displayed-in-local/37860/2 "2022-03-26T06:38:50Z")

</div>

Is /images a subdir of the dir `_index.md` is in? If so, you can’t do that with ‘branch bundles’, the image has to be in the same dir as the \_index.md, or in /images/assets, or /static/images/, depending on the theme and what `featured_image` actually does based on the theme’s layouts.

> **[Page Bundles](https://gohugo.io/content-management/page-bundles/)**
>
> Content organization using Page Bundles

---

<div class="post-metadata">

**Author:** ![OnigiriJack](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/onigirijack/32/16578_2.png) [@OnigiriJack](https://discourse.gohugo.io/u/OnigiriJack)\
**Post date:** [March 26, 2022, 10:38am UTC](https://discourse.gohugo.io/t/featured-images-not-showing-on-netlify-but-displayed-in-local/37860/3 "2022-03-26T10:38:52Z")

</div>

Thank you for the response Daniel. I am using the Ananke theme and I moved all of the images to the /static/images/ path and the featured\_images are still not displayed on netlify.

---

<div class="post-metadata">

**Author:** ![cshoredaniel](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/cshoredaniel/32/19684_2.png) [@cshoredaniel](https://discourse.gohugo.io/u/cshoredaniel)\
**Post date:** [March 26, 2022, 10:51am UTC](https://discourse.gohugo.io/t/featured-images-not-showing-on-netlify-but-displayed-in-local/37860/4 "2022-03-26T10:51:42Z")

</div>

At this point I’d say you need to read and follow [Requesting Help](https://discourse.gohugo.io/t/requesting-help/9132), especially the part about providing a public repo with the issue, or a reproducible test case with a public repo that we can look at.

---

<div class="post-metadata">

**Author:** ![cshoredaniel](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/cshoredaniel/32/19684_2.png) [@cshoredaniel](https://discourse.gohugo.io/u/cshoredaniel)\
**Post date:** [March 26, 2022, 10:53am UTC](https://discourse.gohugo.io/t/featured-images-not-showing-on-netlify-but-displayed-in-local/37860/5 "2022-03-26T10:53:18Z")

</div>

One other ‘guess’ I have though, is that `baseURL` is not set correctly in your `config.toml`.

---

<div class="post-metadata">

**Author:** ![OnigiriJack](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/onigirijack/32/16578_2.png) [@OnigiriJack](https://discourse.gohugo.io/u/OnigiriJack)\
**Post date:** [March 26, 2022, 11:06am UTC](https://discourse.gohugo.io/t/featured-images-not-showing-on-netlify-but-displayed-in-local/37860/6 "2022-03-26T11:06:12Z")

</div>

Thank you it seemed to be the baseURL since I changed the CNAME at some point. Next time I will post my repo if I have more issues.

---

<div class="post-metadata">

**Author:** ![system](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/system/32/1_2.png) [@system](https://discourse.gohugo.io/u/system)\
**Post date:** [March 28, 2022, 11:06am UTC](https://discourse.gohugo.io/t/featured-images-not-showing-on-netlify-but-displayed-in-local/37860/7 "2022-03-28T11:06:51Z")

</div>

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
