# Improper image URL for upload images

**URL:** <https://forum.ghost.org/t/improper-image-url-for-upload-images/17668>\
**Category:** Developer help\
**Created:** [October 14, 2020, 5:13pm UTC](https://forum.ghost.org/t/improper-image-url-for-upload-images/17668 "2020-10-14T17:13:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zopyx](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/zopyx/32/9767_2.png) [@zopyx](https://forum.ghost.org/u/zopyx)\
**Post date:** [October 14, 2020, 5:13pm UTC](https://forum.ghost.org/t/improper-image-url-for-upload-images/17668/1 "2020-10-14T17:13:10Z")

</div>

I created a blog article [Blog moved to Ghost](https://blog.zopyx.com/blog-moved-to-ghost/) with an image that is referenced through in the public preview as

 ![](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/3X/1/e/1e491c9627330d3df7ee331847ae2d8fed276b32.png)  
However the file is stored on the filesystem under

```auto
./blog/images/2020/10/2880px-Ghost-Logo.svg.png
./blog/images/2020/10/2880px-Ghost-Logo.svg_o.png

```

So either the URL for the image is wrong or the storage location is wrong.  
Is there anything missing?

---

<div class="post-metadata">

**Author:** ![Kevin](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/kevin/32/32_2.png) [@Kevin](https://forum.ghost.org/u/Kevin)\
**Post date:** [October 14, 2020, 5:16pm UTC](https://forum.ghost.org/t/improper-image-url-for-upload-images/17668/2 "2020-10-14T17:16:52Z")

</div>

All looks correct. The `/images/size/*/file.ext` API automatically generates images to the specified size when requested.

You haven’t actually specified what the error or problem is that you are seeing, are your images not loading?

---

<div class="post-metadata">

**Author:** ![zopyx](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/zopyx/32/9767_2.png) [@zopyx](https://forum.ghost.org/u/zopyx)\
**Post date:** [October 14, 2020, 5:31pm UTC](https://forum.ghost.org/t/improper-image-url-for-upload-images/17668/3 "2020-10-14T17:31:32Z")

</div>

Looks like a Docker configuration issue with the exposed volume:

```auto
InternalServerError: EACCES: permission denied, mkdir '/var/lib/ghost/content/images/size/w1600'
    at new GhostError (/var/lib/ghost/versions/3.35.4/node_modules/@tryghost/errors/lib/errors.js:10:26)
    at _private.prepareError (/var/lib/ghost/versions/3.35.4/core/server/web/shared/middlewares/error-handler.js:53:19)
    at Layer.handle_error (/var/lib/ghost/versions/3.35.4/node_modules/express/lib/router/layer.js:71:5)
    at trim_prefix (/var/lib/ghost/versions/3.35.4/node_modules/express/lib/router/index.js:315:13)
    at /var/lib/ghost/versions/3.35.4/node_modules/express/lib/router/index.js:284:7
    at Function.process_params (/var/lib/ghost/versions/3.35.4/node_modules/express/lib/router/index.js:335:12)
    at next (/var/lib/ghost/versions/3.35.4/node_modules/express/lib/router/index.js:275:10)
    at handle404 (/var/lib/ghost/versions/3.35.4/core/frontend/apps/private-blogging/lib/middleware.js:166:20)
    at Layer.handle_error (/var/lib/ghost/versions/3.35.4/node_modules/express/lib/router/layer.js:71:5)
    at trim_prefix (/var/lib/ghost/versions/3.35.4/node_modules/express/lib/router/index.js:315:13)
    at /var/lib/ghost/versions/3.35.4/node_modules/express/lib/router/index.js:284:7
    at Function.process_params (/var/lib/ghost/versions/3.35.4/node_modules/express/lib/router/index.js:335:12)
    at next (/var/lib/ghost/versions/3.35.4/node_modules/express/lib/router/index.js:275:10)
    at Layer.handle_error (/var/lib/ghost/versions/3.35.4/node_modules/express/lib/router/layer.js:67:12)
    at trim_prefix (/var/lib/ghost/versions/3.35.4/node_modules/express/lib/router/index.js:315:13)
    at /var/lib/ghost/versions/3.35.4/node_modules/express/lib/router/index.js:284:7

Error: EACCES: permission denied, mkdir '/var/lib/ghost/content/images/size/w1600'

```

Issue then on my side. Sorry for the noise
