Processed images not generated with serve

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:

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

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

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

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. "

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?

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.

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.