# Processed images not generated with serve

**URL:** <https://zola.discourse.group/t/processed-images-not-generated-with-serve/1604>\
**Category:** Support\
**Created:** [January 16, 2023, 12:52pm UTC](https://zola.discourse.group/t/processed-images-not-generated-with-serve/1604 "2023-01-16T12:52:46Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ryo](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/ryo/32/901_2.png) [@ryo](https://zola.discourse.group/u/ryo)\
**Post date:** [January 16, 2023, 12:52pm UTC](https://zola.discourse.group/t/processed-images-not-generated-with-serve/1604/1 "2023-01-16T12:52:46Z")

</div>

Is there already a solution to this problem?

" During development I use the command `zola serve` to fire up the development server. This works perfectly fine, except for processed images. These will error with a `404 - Not Found` message."

The Problem:

> <https://github.com/getzola/zola/issues/543>
>
> During development I use the command \`zola serve\` to fire up the development ser…ver. This works perfectly fine, except for processed images. These will error with a \`404 - Not Found\` message.
> 
> As a workaround one can always create them via \`zola build\`. It'd be nice if the serve command would write those processed images to disk, too.

The pictures are showing up in the markdown file but not on the Webpage?

---

<div class="post-metadata">

**Author:** ![keats](https://avatars.discourse-cdn.com/v4/letter/k/34f0e0/32.png) [@keats](https://zola.discourse.group/u/keats)\
**Post date:** [January 16, 2023, 7:23pm UTC](https://zola.discourse.group/t/processed-images-not-generated-with-serve/1604/2 "2023-01-16T19:23:12Z")

</div>

This bug is pretty old, it does work for me and most people. What is your issue exactly?

---

<div class="post-metadata">

**Author:** ![magikstm](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/magikstm/32/849_2.png) [@magikstm](https://zola.discourse.group/u/magikstm)\
**Post date:** [January 16, 2023, 11:56pm UTC](https://zola.discourse.group/t/processed-images-not-generated-with-serve/1604/3 "2023-01-16T23:56:03Z")

</div>

@ryo what OS and wihch version of zola are you using?

---

<div class="post-metadata">

**Author:** ![ryo](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/ryo/32/901_2.png) [@ryo](https://zola.discourse.group/u/ryo)\
**Post date:** [January 17, 2023, 7:23am UTC](https://zola.discourse.group/t/processed-images-not-generated-with-serve/1604/4 "2023-01-17T07:23:02Z")

</div>

I am using Debian stable and macOS Big Sur and the version of Zola “0.16.1 as a Flatpak on Debian”  
Have tested the site on both machines and in the Markdown file(s) all the images are displayed perfectly but no images are displayed in “Zola serve” or “Zola build” in the public folder.

Doesn’t matter which theme it still doesn’t display the images and it is the same problem as described in the bug.

"If i use `zola serve` or ‘zola build’ to fire up the development server. This works perfectly fine, except for processed images. These will error with a `404 - Not Found` message.  
My addition: Markdown file also no problems displaying, ‘resize\_image’ , 'scale 'etc. doesn’t help to solve the problem. "

---

<div class="post-metadata">

**Author:** ![magikstm](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/magikstm/32/849_2.png) [@magikstm](https://zola.discourse.group/u/magikstm)\
**Post date:** [January 17, 2023, 8:29am UTC](https://zola.discourse.group/t/processed-images-not-generated-with-serve/1604/5 "2023-01-17T08:29:04Z")

</div>

What are the commands of image processing that you are using that don’t seem to work?

Could you please share 2-3 that don’t seem to work?

---

<div class="post-metadata">

**Author:** ![ryo](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/ryo/32/901_2.png) [@ryo](https://zola.discourse.group/u/ryo)\
**Post date:** [January 17, 2023, 11:44am UTC](https://zola.discourse.group/t/processed-images-not-generated-with-serve/1604/6 "2023-01-17T11:44:23Z")

</div>

Works In my markdown File not while “build” or “serve”:

`![](../static/images/MyImage.jpg)`

`![sample text here](img1.jpg)`

only the Width is changed  
`![](/icon.svg =20x100)`

Also in plain .html it works in Markdown but “zola serve” doesn’t display anything.  
`<img src="img1.jpg" alt="drawing" width="200"/>`

My Image has already the perfect size I just thought this would solve the problem, but doesn’t.

---

<div class="post-metadata">

**Author:** ![adrianboston](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/adrianboston/32/907_2.png) [@adrianboston](https://zola.discourse.group/u/adrianboston)\
**Post date:** [January 18, 2023, 10:50pm UTC](https://zola.discourse.group/t/processed-images-not-generated-with-serve/1604/7 "2023-01-18T22:50:48Z")

</div>

As someone commented in one of my questions: `zola serve` provides an in-memory build.

`zola build` does however construct the expected `.html` files and possibly only copies the static directory at that time as well bringing in new files.
