# Problem when uploading Image to Post \[Solved\]

**URL:** <https://forum.ghost.org/t/problem-when-uploading-image-to-post-solved/5183>\
**Category:** Developer help\
**Created:** [January 21, 2019, 3:07pm UTC](https://forum.ghost.org/t/problem-when-uploading-image-to-post-solved/5183 "2019-01-21T15:07:16Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![SrPeter](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/srpeter/32/2385_2.png) [@SrPeter](https://forum.ghost.org/u/SrPeter)\
**Post date:** [January 21, 2019, 3:07pm UTC](https://forum.ghost.org/t/problem-when-uploading-image-to-post-solved/5183/1 "2019-01-21T15:07:16Z")

</div>

- URL: [https://blog.srpeter.com/](https://blog.srpeter.com/)
- Using NGinx
- Config: [https://pastebin.com/h4g3ptmJ](https://pastebin.com/h4g3ptmJ)

When I try to upload an Image to a post it uploads like this:  
 ![Screenshot%20from%202019-01-21%2016-06-12](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/6/69884ff7b12cb0a0bb7b8a8c6663e4ad423cc63f.png)

I tried different sizes and still the same… They all have 750 permissions and www-data.

Thanks for your time!

---

<div class="post-metadata">

**Author:** ![Kate](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/kate/32/35_2.png) [@Kate](https://forum.ghost.org/u/Kate)\
**Post date:** [January 21, 2019, 3:22pm UTC](https://forum.ghost.org/t/problem-when-uploading-image-to-post-solved/5183/2 "2019-01-21T15:22:34Z")

</div>

What is the returned/uploaded image path?

---

<div class="post-metadata">

**Author:** ![SrPeter](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/srpeter/32/2385_2.png) [@SrPeter](https://forum.ghost.org/u/SrPeter)\
**Post date:** [January 21, 2019, 3:28pm UTC](https://forum.ghost.org/t/problem-when-uploading-image-to-post-solved/5183/3 "2019-01-21T15:28:26Z")

</div>

Sorry, Im new to Ghost, where can I see that path?

---

<div class="post-metadata">

**Author:** ![Kate](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/kate/32/35_2.png) [@Kate](https://forum.ghost.org/u/Kate)\
**Post date:** [January 21, 2019, 3:51pm UTC](https://forum.ghost.org/t/problem-when-uploading-image-to-post-solved/5183/4 "2019-01-21T15:51:54Z")

</div>

Two things which might be useful:

1. right click on the broken image and copy the image path
2. look at server log `ghost log -f` on upload/download image and share output

---

<div class="post-metadata">

**Author:** ![SrPeter](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/srpeter/32/2385_2.png) [@SrPeter](https://forum.ghost.org/u/SrPeter)\
**Post date:** [January 21, 2019, 4:01pm UTC](https://forum.ghost.org/t/problem-when-uploading-image-to-post-solved/5183/5 "2019-01-21T16:01:02Z")

</div>

Okey, well the img is taking me to:

[http://localhost:2368/content/images/2019/01/basic\_logo-6.jpg](http://localhost:2368/content/images/2019/01/basic_logo-6.jpg)

It should be:  
“[https://blog.srpeter.com/content/images/2019/01/basic\_logo-6.jpg](https://blog.srpeter.com/content/images/2019/01/basic_logo-6.jpg)”

---

<div class="post-metadata">

**Author:** ![Kate](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/kate/32/35_2.png) [@Kate](https://forum.ghost.org/u/Kate)\
**Post date:** [January 21, 2019, 4:40pm UTC](https://forum.ghost.org/t/problem-when-uploading-image-to-post-solved/5183/6 "2019-01-21T16:40:02Z")

</div>

Have you configured your blog `url` in your blog config?  
`config.production.json`

> **[Configuration - Adapt your publication to suit your needs](https://ghost.org/docs/config/)**
>
> Find out how to configure your Ghost publication or override Ghost's default behaviour with robust config options, including mail, storage, scheduling and more!

---

<div class="post-metadata">

**Author:** ![SrPeter](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/srpeter/32/2385_2.png) [@SrPeter](https://forum.ghost.org/u/SrPeter)\
**Post date:** [January 22, 2019, 2:49pm UTC](https://forum.ghost.org/t/problem-when-uploading-image-to-post-solved/5183/7 "2019-01-22T14:49:43Z")

</div>

That was the problem!

Thanks for your time 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/b/ba9ce5100b8bb264586f4f572545596b2ce3f081.png) [@system](https://forum.ghost.org/u/system)\
**Post date:** [February 5, 2019, 2:49pm UTC](https://forum.ghost.org/t/problem-when-uploading-image-to-post-solved/5183/8 "2019-02-05T14:49:45Z")

</div>

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